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() {
|
CefFrameHostImpl::~CefFrameHostImpl() {
|
||||||
// Should have been Detached.
|
// Should have been Detached if not temporary.
|
||||||
DCHECK(!browser_info_);
|
DCHECK(is_temporary() || !browser_info_);
|
||||||
DCHECK(!render_frame_host_);
|
DCHECK(!render_frame_host_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue