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 6d0e1f0102f1acd39634f2d6856c75d68fd5cdfe..5944c9b68f2868d2dd0cfc13e83291922ca88f2c 100644 |
--- a/content/shell/browser/shell_devtools_frontend.cc |
+++ b/content/shell/browser/shell_devtools_frontend.cc |
@@ -126,7 +126,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; |
} |