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); |
} |