Skip to content

Commit

Permalink
feat(macro): correct CEF version detect macro
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Mar 28, 2024
1 parent 9fc274d commit c79fb7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/CefViewBrowserClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ class CefViewBrowserClient
const CefString& target_url,
CefRequestHandler::WindowOpenDisposition target_disposition,
bool user_gesture) override;
#if CEF_VERSION_MAJOR > 91 && CEF_VERSION_MAJOR < 110
#if CEF_VERSION_MAJOR > 91 && CEF_VERSION_MAJOR < 109
virtual bool OnQuotaRequest(CefRefPtr<CefBrowser> browser,
const CefString& origin_url,
int64 new_size,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ CefViewBrowserClient::OnOpenURLFromTab(CefRefPtr<CefBrowser> browser,
return false; // return true to cancel this navigation.
}

#if CEF_VERSION_MAJOR > 91 && CEF_VERSION_MAJOR < 110
#if CEF_VERSION_MAJOR > 91 && CEF_VERSION_MAJOR < 109
bool
CefViewBrowserClient::OnQuotaRequest(CefRefPtr<CefBrowser> browser,
const CefString& origin_url,
Expand Down

0 comments on commit c79fb7f

Please sign in to comment.