| 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 36015b66c4cf675fbb05f33f643018e63daddb68..dbac704bcdda9978f331d4b88a2f74ca8f6a643a 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_);
|
|
|