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

Unified Diff: chrome/browser/debugger/devtools_window.cc

Issue 11361034: DevTools: [remote debugging] emit Inspector.detached protocol message upon connectin termination. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comment addressed Created 8 years, 1 month 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: chrome/browser/debugger/devtools_window.cc
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc
index 3ce7cc6d548949c0b12f605f051f9f719a8f3787..1ea71b19bbeccf58813a3dfecd821262c2fa4e11 100644
--- a/chrome/browser/debugger/devtools_window.cc
+++ b/chrome/browser/debugger/devtools_window.cc
@@ -655,7 +655,7 @@ DevToolsWindow* DevToolsWindow::ToggleDevToolsWindow(
DevToolsWindow* window = AsDevToolsWindow(host);
if (host && !window) {
// Break remote debugging / extension debugging session.
- DebuggerApi::MarkDevToolsClientHostAsReplaced(host);
+ host->ReplacedWithAnotherClient();
manager->UnregisterDevToolsClientHostFor(agent);
}

Powered by Google App Engine
This is Rietveld 408576698