summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 17:30:16 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 17:30:16 +0000
commitd1aed1f5d4a59371b0b041884089745d65b29cf3 (patch)
tree9911b54f322194a0588763167d9d0820725e11be /chrome/browser
parent54d8d45198e73c705030f2bb9cb67d91808141e6 (diff)
downloadchromium_src-d1aed1f5d4a59371b0b041884089745d65b29cf3.zip
chromium_src-d1aed1f5d4a59371b0b041884089745d65b29cf3.tar.gz
chromium_src-d1aed1f5d4a59371b0b041884089745d65b29cf3.tar.bz2
DevTools: Fix errors found during dogfooding.
Review URL: http://codereview.chromium.org/62152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/debugger/devtools_manager.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/debugger/devtools_manager.cc b/chrome/browser/debugger/devtools_manager.cc
index 5bcb193..dac372d 100644
--- a/chrome/browser/debugger/devtools_manager.cc
+++ b/chrome/browser/debugger/devtools_manager.cc
@@ -126,7 +126,8 @@ void DevToolsManager::ForwardToDevToolsClient(const RenderViewHost& from,
}
DevToolsClientHost* target_host = GetDevToolsClientHostFor(*wc);
if (!target_host) {
- NOTREACHED();
+ // Client window was closed while there were messages
+ // being sent to it.
return;
}
target_host->SendMessageToClient(message);