mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-22 06:57:42 +01:00
Remove unhelpful context debug checks (issue #1954)
This commit is contained in:
parent
d0e0aaa382
commit
ab288d40f1
@ -228,11 +228,6 @@ void CefBrowserMainParts::PostMainMessageLoopRun() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
global_browser_context_ = NULL;
|
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() {
|
void CefBrowserMainParts::PostDestroyThreads() {
|
||||||
@ -240,9 +235,4 @@ void CefBrowserMainParts::PostDestroyThreads() {
|
|||||||
// Delete the DesktopTestViewsDelegate.
|
// Delete the DesktopTestViewsDelegate.
|
||||||
delete views::ViewsDelegate::GetInstance();
|
delete views::ViewsDelegate::GetInstance();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if DCHECK_IS_ON()
|
|
||||||
// No CefURLRequestContext instances should exist at this point.
|
|
||||||
DCHECK_EQ(0, CefURLRequestContext::DebugObjCt);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user