summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_devtools_frontend.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/browser/shell_devtools_frontend.cc')
-rw-r--r--content/shell/browser/shell_devtools_frontend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/browser/shell_devtools_frontend.cc b/content/shell/browser/shell_devtools_frontend.cc
index 92bdc9a..21973f4 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;
}