Remove unhelpful context debug checks (issue #1954)
This commit is contained in:
parent
2149a34d0a
commit
cea55225f0
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue