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

Unified Diff: components/search/search.cc

Issue 1233043003: Remove some legacy versions of StartsWith and EndsWith. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: components/search/search.cc
diff --git a/components/search/search.cc b/components/search/search.cc
index 8c50d162787baf68b2cb1efe2964c735cf8797db..92b8ccb7abac3e6f8ce9b218d4f1f7d9b32c2e55 100644
--- a/components/search/search.cc
+++ b/components/search/search.cc
@@ -90,7 +90,8 @@ bool GetFieldTrialInfo(FieldTrialFlags* flags) {
kInstantExtendedFieldTrialName);
}
- if (base::EndsWith(group_name, kDisablingSuffix, true))
+ if (base::EndsWith(group_name, kDisablingSuffix,
+ base::CompareCase::SENSITIVE))
return false;
// We have a valid trial that isn't disabled. Extract the flags.
« no previous file with comments | « components/plugins/renderer/plugin_placeholder.cc ('k') | components/storage_monitor/volume_mount_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698