Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1257)

Unified Diff: chrome/browser/ui/webui/interstitials/interstitial_ui.cc

Issue 1242023005: Remove legacy StartsWithASCII function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/strings/string_util.h ('k') | chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_));
}
« no previous file with comments | « base/strings/string_util.h ('k') | chromeos/dbus/bluetooth_gatt_characteristic_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698