Skip to content

Commit

Permalink
feat: fix wrong return type
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Jan 23, 2025
1 parent 1f96023 commit bb1cbae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions include/CefViewBrowserClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ class CefViewBrowserClient
/// <param name="url"></param>
/// <param name="context"></param>
/// <returns></returns>
int64_t AsyncExecuteJSCode(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
const CefString& code,
const CefString& url,
const CefString& context);
bool AsyncExecuteJSCode(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
const CefString& code,
const CefString& url,
const CefString& context);

protected:
bool DispatchRenderMessage(CefRefPtr<CefBrowser> browser,
Expand Down
2 changes: 1 addition & 1 deletion src/CefView/CefBrowserApp/CefViewBrowserClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ CefViewBrowserClient::ResponseQuery(const int64_t query, bool success, const Cef
return false;
}

int64_t
bool
CefViewBrowserClient::AsyncExecuteJSCode(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
const CefString& code,
Expand Down

0 comments on commit bb1cbae

Please sign in to comment.