Skip to content

Commit

Permalink
ViewsDelegate::CreateWebContents went away
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon authored and alexeykuzmin committed Oct 3, 2018
1 parent 2f75777 commit f9ed25d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions brightray/browser/views/views_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
3 changes: 0 additions & 3 deletions brightray/browser/views/views_delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f9ed25d

Please sign in to comment.