From ab288d40f1bafcdd734800ee829c74936f4ce775 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Fri, 28 Oct 2016 14:56:31 -0400 Subject: [PATCH] Remove unhelpful context debug checks (issue #1954) --- libcef/browser/browser_main.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libcef/browser/browser_main.cc b/libcef/browser/browser_main.cc index 850aa2c06..19b0250ec 100644 --- a/libcef/browser/browser_main.cc +++ b/libcef/browser/browser_main.cc @@ -228,11 +228,6 @@ void CefBrowserMainParts::PostMainMessageLoopRun() { } global_browser_context_ = NULL; - -#if DCHECK_IS_ON() - // No CefBrowserContext instances should exist at this point. - DCHECK_EQ(0, CefBrowserContext::DebugObjCt); -#endif } void CefBrowserMainParts::PostDestroyThreads() { @@ -240,9 +235,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 }