Remove unhelpful context debug checks (issue #1954)

This commit is contained in:
Marshall Greenblatt 2016-10-28 14:56:31 -04:00
parent d0e0aaa382
commit ab288d40f1

View File

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