Index: chrome/browser/ui/webui/interstitials/interstitial_ui.cc |
diff --git a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc |
index 3a080a502af0ce99478d946bfde94b4b80599756..0db2f9e6143fc27d8d7678c3c27bcfb5dd2a523f 100644 |
--- a/chrome/browser/ui/webui/interstitials/interstitial_ui.cc |
+++ b/chrome/browser/ui/webui/interstitials/interstitial_ui.cc |
@@ -256,7 +256,8 @@ void InterstitialHTMLSource::StartDataRequest( |
interstitial_delegate.reset(CreateSafeBrowsingBlockingPage(web_contents_)); |
} |
#if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
- else if (base::StartsWithASCII(path, "captiveportal", true)) |
+ else if (base::StartsWith(path, "captiveportal", |
+ base::CompareCase::SENSITIVE)) |
{ |
interstitial_delegate.reset(CreateCaptivePortalBlockingPage(web_contents_)); |
} |