mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Use direct member for CefBrowserHostBase::contents_delegate_
There's no reason to use unique_ptr here as the lifespan of |contents_delegate_| exactly matches CefBrowserHostBase.
This commit is contained in:
@@ -82,9 +82,7 @@ class CefWidgetHostInterceptor
|
||||
|
||||
CefBrowserContentsDelegate::CefBrowserContentsDelegate(
|
||||
scoped_refptr<CefBrowserInfo> browser_info)
|
||||
: browser_info_(browser_info) {
|
||||
DCHECK(browser_info_->browser());
|
||||
}
|
||||
: browser_info_(browser_info) {}
|
||||
|
||||
void CefBrowserContentsDelegate::ObserveWebContents(
|
||||
content::WebContents* new_contents) {
|
||||
|
Reference in New Issue
Block a user