diff --git a/brightray/browser/views/views_delegate.cc b/brightray/browser/views/views_delegate.cc index 97f3fba7fff..16795d49da1 100644 --- a/brightray/browser/views/views_delegate.cc +++ b/brightray/browser/views/views_delegate.cc @@ -86,12 +86,6 @@ void ViewsDelegate::AddRef() {} void ViewsDelegate::ReleaseRef() {} -content::WebContents* ViewsDelegate::CreateWebContents( - content::BrowserContext* browser_context, - content::SiteInstance* site_instance) { - return NULL; -} - void ViewsDelegate::OnBeforeWidgetInit( views::Widget::InitParams* params, views::internal::NativeWidgetDelegate* delegate) { diff --git a/brightray/browser/views/views_delegate.h b/brightray/browser/views/views_delegate.h index 66c47b654ba..5ad6ac68dd8 100644 --- a/brightray/browser/views/views_delegate.h +++ b/brightray/browser/views/views_delegate.h @@ -46,9 +46,6 @@ class ViewsDelegate : public views::ViewsDelegate { views::Widget* widget) override; void AddRef() override; void ReleaseRef() override; - content::WebContents* CreateWebContents( - content::BrowserContext* browser_context, - content::SiteInstance* site_instance) override; void OnBeforeWidgetInit( views::Widget::InitParams* params, views::internal::NativeWidgetDelegate* delegate) override;