Index: content/public/browser/content_browser_client.cc |
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc |
index 754c5c66b89fbb468676d5d34cfb972419a45d89..6387bb776c295628ab0ea2c39c07ee13ac56fd62 100644 |
--- a/content/public/browser/content_browser_client.cc |
+++ b/content/public/browser/content_browser_client.cc |
@@ -284,8 +284,7 @@ ContentBrowserClient::GetPlatformNotificationService() { |
} |
bool ContentBrowserClient::CanCreateWindow( |
- int opener_render_process_id, |
- int opener_render_frame_id, |
+ RenderFrameHost* opener, |
const GURL& opener_url, |
const GURL& opener_top_level_frame_url, |
const GURL& source_origin, |
@@ -297,7 +296,6 @@ bool ContentBrowserClient::CanCreateWindow( |
const blink::mojom::WindowFeatures& features, |
bool user_gesture, |
bool opener_suppressed, |
- ResourceContext* context, |
bool* no_javascript_access) { |
*no_javascript_access = false; |
return true; |