Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1996)

Unified Diff: content/shell/browser/shell_devtools_frontend.cc

Issue 257153003: We have a problem in the process on destroying WebContentsImpl because (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rebased onto origin/lkgr Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698