Index: content/shell/browser/shell_devtools_frontend.cc |
diff --git a/content/shell/browser/shell_devtools_frontend.cc b/content/shell/browser/shell_devtools_frontend.cc |
index 92bdc9ad0577d2ed04c4a59f06697ee23a13ac01..21973f4687b313c0adbeb015252439465543702f 100644 |
--- a/content/shell/browser/shell_devtools_frontend.cc |
+++ b/content/shell/browser/shell_devtools_frontend.cc |
@@ -126,7 +126,7 @@ void ShellDevToolsFrontend::DocumentOnLoadCompletedInMainFrame() { |
base::ASCIIToUTF16("InspectorFrontendAPI.setUseSoftMenu(true);")); |
} |
-void ShellDevToolsFrontend::WebContentsDestroyed(WebContents* web_contents) { |
+void ShellDevToolsFrontend::WebContentsDestroyed() { |
DevToolsManager::GetInstance()->ClientHostClosing(frontend_host_.get()); |
delete this; |
} |