Index: headless/lib/browser/headless_web_contents_impl.cc |
diff --git a/headless/lib/browser/headless_web_contents_impl.cc b/headless/lib/browser/headless_web_contents_impl.cc |
index 2ba696bafcd4c7a8076500186ed8b43dbe81c166..3980324ca02250e0eb508bfcb94ec5d4ee40cf10 100644 |
--- a/headless/lib/browser/headless_web_contents_impl.cc |
+++ b/headless/lib/browser/headless_web_contents_impl.cc |
@@ -75,12 +75,15 @@ class HeadlessWebContentsImpl::Delegate : public content::WebContentsDelegate { |
explicit Delegate(HeadlessBrowserContextImpl* browser_context) |
: browser_context_(browser_context) {} |
- void WebContentsCreated(content::WebContents* source_contents, |
- int opener_render_process_id, |
- int opener_render_frame_id, |
- const std::string& frame_name, |
- const GURL& target_url, |
- content::WebContents* new_contents) override { |
+ void WebContentsCreated( |
+ content::WebContents* source_contents, |
+ int opener_render_process_id, |
+ int opener_render_frame_id, |
+ const std::string& frame_name, |
+ const GURL& target_url, |
+ content::WebContents* new_contents, |
+ const base::Optional<content::WebContents::CreateParams>& create_params) |
+ override { |
std::unique_ptr<HeadlessWebContentsImpl> web_contents = |
HeadlessWebContentsImpl::CreateFromWebContents(new_contents, |
browser_context_); |