Index: chrome/browser/ui/webui/chrome_url_data_manager_backend.cc |
diff --git a/chrome/browser/ui/webui/chrome_url_data_manager_backend.cc b/chrome/browser/ui/webui/chrome_url_data_manager_backend.cc |
index 6717ab48008010a7b70f0e2108aa22c46ef7ffec..0e7f85fc26c34d0fecd71fa43e6ab83059cecab0 100644 |
--- a/chrome/browser/ui/webui/chrome_url_data_manager_backend.cc |
+++ b/chrome/browser/ui/webui/chrome_url_data_manager_backend.cc |
@@ -220,9 +220,8 @@ void URLRequestChromeJob::StartAsync() { |
namespace { |
bool IsViewAppCacheInternalsURL(const GURL& url) { |
- return StartsWithASCII(url.spec(), |
- chrome::kAppCacheViewInternalsURL, |
- true /*case_sensitive*/); |
+ return url.SchemeIs(chrome::kChromeUIScheme) && |
+ url.host() == chrome::kChromeUIAppCacheInternalsHost; |
} |
class ChromeProtocolHandler |