Fix official build errors caused by chrome runtime changes (see issue #2969)

This commit is contained in:
Marshall Greenblatt 2020-07-14 13:38:13 -04:00
parent 280c9127c1
commit 13e3c8b42a
2 changed files with 7 additions and 0 deletions

View File

@ -151,7 +151,9 @@ CefBrowserContext::CefBrowserContext(const CefRequestContextSettings& settings)
CefBrowserContext::~CefBrowserContext() {
CEF_REQUIRE_UIT();
#if DCHECK_IS_ON()
DCHECK(is_shutdown_);
#endif
if (iothread_state_) {
// Destruction of the CefIOThreadState will trigger destruction of all

View File

@ -221,6 +221,11 @@ def GetRecommendedDefaultArgs():
# strange shutdown crashes when using the Chrome runtime with a Debug
# component build on Windows.
'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':