mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-22 06:57:42 +01:00
cefclient: win: Fix MSVC compile error
This commit is contained in:
parent
20a659fa66
commit
8af4558412
@ -246,11 +246,11 @@ CefRefPtr<CefRequestContext> RootWindowManager::CreateRequestContext(
|
|||||||
if (request_context_per_browser_) {
|
if (request_context_per_browser_) {
|
||||||
// Synchronous use of non-global request contexts is not safe with the
|
// Synchronous use of non-global request contexts is not safe with the
|
||||||
// Chrome runtime.
|
// Chrome runtime.
|
||||||
CHECK(!callback.is_null()
|
#if defined(DISABLE_ALLOY_BOOTSTRAP)
|
||||||
#if !defined(DISABLE_ALLOY_BOOTSTRAP)
|
CHECK(!callback.is_null());
|
||||||
|| !MainContext::Get()->UseChromeBootstrap()
|
#else
|
||||||
|
CHECK(!callback.is_null() || !MainContext::Get()->UseChromeBootstrap());
|
||||||
#endif
|
#endif
|
||||||
);
|
|
||||||
|
|
||||||
// Create a new request context for each browser.
|
// Create a new request context for each browser.
|
||||||
CefRequestContextSettings settings;
|
CefRequestContextSettings settings;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user