diff --git a/libcef/browser/browser_main.cc b/libcef/browser/browser_main.cc index 083a626bd..694d6d3b7 100644 --- a/libcef/browser/browser_main.cc +++ b/libcef/browser/browser_main.cc @@ -214,11 +214,6 @@ void CefBrowserMainParts::PostMainMessageLoopRun() { extensions::ExtensionsBrowserClient::Set(NULL); extensions_browser_client_.reset(); } - -#if DCHECK_IS_ON() - // No CefBrowserContext instances should exist at this point. - DCHECK_EQ(0, CefBrowserContext::DebugObjCt); -#endif } void CefBrowserMainParts::PostDestroyThreads() { @@ -226,9 +221,4 @@ void CefBrowserMainParts::PostDestroyThreads() { // Delete the DesktopTestViewsDelegate. delete views::ViewsDelegate::GetInstance(); #endif - -#if DCHECK_IS_ON() - // No CefURLRequestContext instances should exist at this point. - DCHECK_EQ(0, CefURLRequestContext::DebugObjCt); -#endif }