diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 17c0e98b4ec..14d13877f66 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -507,8 +507,7 @@ void WebContents::WebContentsCreated( int opener_render_frame_id, const std::string& frame_name, const GURL& target_url, - content::WebContents* new_contents, - const base::Optional& create_params) { + content::WebContents* new_contents) { v8::Locker locker(isolate()); v8::HandleScope handle_scope(isolate()); auto api_web_contents = CreateFrom(isolate(), new_contents, BROWSER_WINDOW); diff --git a/atom/browser/api/atom_api_web_contents.h b/atom/browser/api/atom_api_web_contents.h index c5f122470c3..2abdd2accc2 100644 --- a/atom/browser/api/atom_api_web_contents.h +++ b/atom/browser/api/atom_api_web_contents.h @@ -254,8 +254,7 @@ class WebContents : public mate::TrackableObject, int opener_render_frame_id, const std::string& frame_name, const GURL& target_url, - content::WebContents* new_contents, - const base::Optional& create_params) + content::WebContents* new_contents) override; void AddNewContents(content::WebContents* source, content::WebContents* new_contents,