Remove unhelpful context debug checks (issue #1954)

This commit is contained in:
Marshall Greenblatt 2016-10-28 14:56:31 -04:00
parent 2149a34d0a
commit cea55225f0
1 changed files with 0 additions and 10 deletions

View File

@ -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
}