From fe48a92422813daa8239b6b9d20aed544c8c9f3f Mon Sep 17 00:00:00 2001 From: Aleksei Kuzmin Date: Mon, 21 Aug 2017 00:11:08 +0300 Subject: [PATCH] Propagate opener to BackgroundsContents. https://codereview.chromium.org/2882513005 --- brightray/browser/inspectable_web_contents_impl.cc | 1 + brightray/browser/inspectable_web_contents_impl.h | 1 + 2 files changed, 2 insertions(+) diff --git a/brightray/browser/inspectable_web_contents_impl.cc b/brightray/browser/inspectable_web_contents_impl.cc index f473a9fb93a2..0a12eb48066e 100644 --- a/brightray/browser/inspectable_web_contents_impl.cc +++ b/brightray/browser/inspectable_web_contents_impl.cc @@ -683,6 +683,7 @@ bool InspectableWebContentsImpl::DidAddMessageToConsole( bool InspectableWebContentsImpl::ShouldCreateWebContents( content::WebContents* web_contents, + content::RenderFrameHost* opener, content::SiteInstance* source_site_instance, int32_t route_id, int32_t main_frame_route_id, diff --git a/brightray/browser/inspectable_web_contents_impl.h b/brightray/browser/inspectable_web_contents_impl.h index e3b603686b52..2b514404cbb3 100644 --- a/brightray/browser/inspectable_web_contents_impl.h +++ b/brightray/browser/inspectable_web_contents_impl.h @@ -140,6 +140,7 @@ class InspectableWebContentsImpl : const base::string16& source_id) override; bool ShouldCreateWebContents( content::WebContents* web_contents, + content::RenderFrameHost* opener, content::SiteInstance* source_site_instance, int32_t route_id, int32_t main_frame_route_id,