mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	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:
		| @@ -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_); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user