Index: chromecast/browser/cast_content_browser_client.h |
diff --git a/chromecast/browser/cast_content_browser_client.h b/chromecast/browser/cast_content_browser_client.h |
index fae903041021edb7b71157f7d7f90d028cb3ecc3..11d26ea1538d24a91879dfe7eabbb2b6edf63d3a 100644 |
--- a/chromecast/browser/cast_content_browser_client.h |
+++ b/chromecast/browser/cast_content_browser_client.h |
@@ -148,8 +148,7 @@ class CastContentBrowserClient : public content::ContentBrowserClient { |
content::WebContents* web_contents, |
net::SSLCertRequestInfo* cert_request_info, |
std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
- bool CanCreateWindow(int opener_render_process_id, |
- int opener_render_frame_id, |
+ bool CanCreateWindow(content::RenderFrameHost* opener, |
const GURL& opener_url, |
const GURL& opener_top_level_frame_url, |
const GURL& source_origin, |
@@ -161,7 +160,6 @@ class CastContentBrowserClient : public content::ContentBrowserClient { |
const blink::mojom::WindowFeatures& features, |
bool user_gesture, |
bool opener_suppressed, |
- content::ResourceContext* context, |
bool* no_javascript_access) override; |
void ExposeInterfacesToRenderer( |
service_manager::BinderRegistry* registry, |