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

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

Issue 2579923002: [DevTools] Call InnerDetach instead of NotifyDetached in DTAHI::HostClosed. (Closed)
Patch Set: no deps Created 4 years 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
« no previous file with comments | « content/browser/devtools/devtools_agent_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43828c931da770159f3e06c243d3fc973e785b41..af9789d338e188cf2ec130fe047447a71a172d38 100644
--- a/content/shell/browser/shell_devtools_frontend.cc
+++ b/content/shell/browser/shell_devtools_frontend.cc
@@ -373,6 +373,7 @@ void ShellDevToolsFrontend::SendMessageAck(int request_id,
void ShellDevToolsFrontend::AgentHostClosed(
DevToolsAgentHost* agent_host, bool replaced) {
+ agent_host_ = nullptr;
frontend_shell_->Close();
}
« no previous file with comments | « content/browser/devtools/devtools_agent_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698