Propagate opener to BackgroundsContents.

https://codereview.chromium.org/2882513005
This commit is contained in:
Aleksei Kuzmin 2017-08-21 00:11:08 +03:00 committed by Cheng Zhao
parent f694b64d71
commit fe48a92422
2 changed files with 2 additions and 0 deletions

View file

@ -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,

View file

@ -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,