summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_url_handler_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/browser_url_handler_impl.cc')
-rw-r--r--content/browser/browser_url_handler_impl.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/content/browser/browser_url_handler_impl.cc b/content/browser/browser_url_handler_impl.cc
index 4eaf1ec..27f2e4b 100644
--- a/content/browser/browser_url_handler_impl.cc
+++ b/content/browser/browser_url_handler_impl.cc
@@ -87,10 +87,7 @@ static bool DebugURLHandler(GURL* url, BrowserContext* browser_context) {
}
// Circumvent processing URLs that the renderer process will handle.
- return *url == GURL(kChromeUICrashURL) ||
- *url == GURL(kChromeUIHangURL) ||
- *url == GURL(kChromeUIKillURL) ||
- *url == GURL(kChromeUIShorthangURL);
+ return IsRendererDebugURL(*url);
}
// static