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

Unified Diff: chrome/renderer/extensions/app_bindings.cc

Issue 1220963005: Update base::StartsWith calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@starts_with
Patch Set: Created 5 years, 6 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
Index: chrome/renderer/extensions/app_bindings.cc
diff --git a/chrome/renderer/extensions/app_bindings.cc b/chrome/renderer/extensions/app_bindings.cc
index 7ead4ef766335a72157e65980d691b9f9b397c61..34997d06e58bb4360232cd6c2b200742a690fbdd 100644
--- a/chrome/renderer/extensions/app_bindings.cc
+++ b/chrome/renderer/extensions/app_bindings.cc
@@ -39,7 +39,8 @@ bool IsCheckoutURL(const std::string& url_spec) {
if (checkout_url_prefix.empty())
checkout_url_prefix = "https://checkout.google.com/";
- return base::StartsWithASCII(url_spec, checkout_url_prefix, false);
+ return base::StartsWith(url_spec, checkout_url_prefix,
+ base::CompareCase::INSENSITIVE_ASCII);
}
bool CheckAccessToAppDetails(WebFrame* frame, v8::Isolate* isolate) {

Powered by Google App Engine
This is Rietveld 408576698