Fix official build errors caused by chrome runtime changes (see issue #2969)
This commit is contained in:
parent
280c9127c1
commit
13e3c8b42a
|
@ -151,7 +151,9 @@ CefBrowserContext::CefBrowserContext(const CefRequestContextSettings& settings)
|
||||||
|
|
||||||
CefBrowserContext::~CefBrowserContext() {
|
CefBrowserContext::~CefBrowserContext() {
|
||||||
CEF_REQUIRE_UIT();
|
CEF_REQUIRE_UIT();
|
||||||
|
#if DCHECK_IS_ON()
|
||||||
DCHECK(is_shutdown_);
|
DCHECK(is_shutdown_);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (iothread_state_) {
|
if (iothread_state_) {
|
||||||
// Destruction of the CefIOThreadState will trigger destruction of all
|
// Destruction of the CefIOThreadState will trigger destruction of all
|
||||||
|
|
|
@ -221,6 +221,11 @@ def GetRecommendedDefaultArgs():
|
||||||
# strange shutdown crashes when using the Chrome runtime with a Debug
|
# strange shutdown crashes when using the Chrome runtime with a Debug
|
||||||
# component build on Windows.
|
# component build on Windows.
|
||||||
'enable_background_mode': False,
|
'enable_background_mode': False,
|
||||||
|
|
||||||
|
# Disable support for resource whitelist generation. When enabled this
|
||||||
|
# introduces a Windows official build dependency on the
|
||||||
|
# "//chrome:chrome_dll" target, which will fail to build with CEF.
|
||||||
|
'enable_resource_whitelist_generation': False,
|
||||||
}
|
}
|
||||||
|
|
||||||
if platform == 'linux':
|
if platform == 'linux':
|
||||||
|
|
Loading…
Reference in New Issue