summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-09 20:21:26 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-09 20:21:26 +0000
commitec64941566dd392c05f1f382b0a79a8d4b2435f9 (patch)
treeecbb85ca2adfca76829d2816f191a6826204d9f7 /chrome/browser/dom_ui
parentf90db900463cf92363f298da24ec23dd4ac2dd93 (diff)
downloadchromium_src-ec64941566dd392c05f1f382b0a79a8d4b2435f9.zip
chromium_src-ec64941566dd392c05f1f382b0a79a8d4b2435f9.tar.gz
chromium_src-ec64941566dd392c05f1f382b0a79a8d4b2435f9.tar.bz2
Let the debugger work again. Error was due to me not noticing the change in debugger URL.
BUG=5287 Review URL: http://codereview.chromium.org/13298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r--chrome/browser/dom_ui/dom_ui_contents.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_contents.cc b/chrome/browser/dom_ui/dom_ui_contents.cc
index 260c68f..3001c9e 100644
--- a/chrome/browser/dom_ui/dom_ui_contents.cc
+++ b/chrome/browser/dom_ui/dom_ui_contents.cc
@@ -126,7 +126,8 @@ bool DOMUIContentsCanHandleURL(GURL* url,
return false;
// TODO: remove once the debugger is using DOMContentsUI
- if (url->host().compare("debugger") == 0)
+ if (url->host().compare("inspector") == 0 &&
+ url->path().compare("/debugger.html") == 0)
return false;
*result_type = TAB_CONTENTS_DOM_UI;