Skip to content

Commit c79fb7f

Browse files
committed
feat(macro): correct CEF version detect macro
1 parent 9fc274d commit c79fb7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/CefViewBrowserClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ class CefViewBrowserClient
372372
const CefString& target_url,
373373
CefRequestHandler::WindowOpenDisposition target_disposition,
374374
bool user_gesture) override;
375-
#if CEF_VERSION_MAJOR > 91 && CEF_VERSION_MAJOR < 110
375+
#if CEF_VERSION_MAJOR > 91 && CEF_VERSION_MAJOR < 109
376376
virtual bool OnQuotaRequest(CefRefPtr<CefBrowser> browser,
377377
const CefString& origin_url,
378378
int64 new_size,

src/CefView/CefBrowserApp/CefViewBrowserClient_RequestHandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ CefViewBrowserClient::OnOpenURLFromTab(CefRefPtr<CefBrowser> browser,
4343
return false; // return true to cancel this navigation.
4444
}
4545

46-
#if CEF_VERSION_MAJOR > 91 && CEF_VERSION_MAJOR < 110
46+
#if CEF_VERSION_MAJOR > 91 && CEF_VERSION_MAJOR < 109
4747
bool
4848
CefViewBrowserClient::OnQuotaRequest(CefRefPtr<CefBrowser> browser,
4949
const CefString& origin_url,

0 commit comments

Comments
 (0)