Index: chrome/browser/devtools/devtools_window.cc |
diff --git a/chrome/browser/devtools/devtools_window.cc b/chrome/browser/devtools/devtools_window.cc |
index dc0dfd6e4dd8a7e3a9741b2d1d4474cb2288a995..0ba79b03613c3bd7496352e33f941ea05ff2ecb1 100644 |
--- a/chrome/browser/devtools/devtools_window.cc |
+++ b/chrome/browser/devtools/devtools_window.cc |
@@ -1047,12 +1047,14 @@ void DevToolsWindow::AddNewContents(WebContents* source, |
} |
} |
-void DevToolsWindow::WebContentsCreated(WebContents* source_contents, |
- int opener_render_process_id, |
- int opener_render_frame_id, |
- const std::string& frame_name, |
- const GURL& target_url, |
- WebContents* new_contents) { |
+void DevToolsWindow::WebContentsCreated( |
+ WebContents* source_contents, |
+ int opener_render_process_id, |
+ int opener_render_frame_id, |
+ const std::string& frame_name, |
+ const GURL& target_url, |
+ WebContents* new_contents, |
+ const base::Optional<content::WebContents::CreateParams>& create_params) { |
if (target_url.SchemeIs(content::kChromeDevToolsScheme) && |
target_url.path().rfind("toolbox.html") != std::string::npos) { |
CHECK(can_dock_); |