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 a25df919f44f879e5aa136625531b7cd5d260b86..d5f6518198d98cd80b96cabdf4df49939a5b82e3 100644 |
--- a/content/shell/browser/shell_devtools_frontend.cc |
+++ b/content/shell/browser/shell_devtools_frontend.cc |
@@ -127,7 +127,7 @@ void ShellDevToolsFrontend::DocumentOnLoadCompletedInMainFrame(int32 page_id) { |
base::ASCIIToUTF16("InspectorFrontendAPI.setUseSoftMenu(true);")); |
} |
-void ShellDevToolsFrontend::WebContentsDestroyed(WebContents* web_contents) { |
+void ShellDevToolsFrontend::WebContentsDestroyed() { |
DevToolsManager::GetInstance()->ClientHostClosing(frontend_host_.get()); |
delete this; |
} |