chrome: Fix DCHECK when a temporary CefFrame is destroyed (see issue #2969)
The temporary CefFrame is created in NavigationOnUIThread during PDF loading.
This commit is contained in:
parent
7f0c88b5da
commit
f3cea7e7df
|
@ -82,8 +82,8 @@ CefFrameHostImpl::CefFrameHostImpl(scoped_refptr<CefBrowserInfo> browser_info,
|
|||
}
|
||||
|
||||
CefFrameHostImpl::~CefFrameHostImpl() {
|
||||
// Should have been Detached.
|
||||
DCHECK(!browser_info_);
|
||||
// Should have been Detached if not temporary.
|
||||
DCHECK(is_temporary() || !browser_info_);
|
||||
DCHECK(!render_frame_host_);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue