summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_io_data.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profiles/profile_io_data.cc')
-rw-r--r--chrome/browser/profiles/profile_io_data.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 2cbc148..5026a67 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -146,8 +146,7 @@ Profile* GetProfileOnUI(ProfileManager* profile_manager, Profile* profile) {
#if defined(DEBUG_DEVTOOLS)
bool IsSupportedDevToolsURL(const GURL& url, base::FilePath* path) {
if (!url.SchemeIs(chrome::kChromeDevToolsScheme) ||
- url.host() != chrome::kChromeUIDevToolsHost ||
- url.path().find(chrome::kChromeUIDevToolsHostedPath) == 1) {
+ url.host() != chrome::kChromeUIDevToolsBundledHost) {
return false;
}