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

Unified Diff: components/search_engines/template_url_service_util_unittest.cc

Issue 1220653002: Fix some case-insensitive cases for StartsWith (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: grt's review comments, Mac fix 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
« no previous file with comments | « components/policy/core/common/preg_parser_win.cc ('k') | components/storage_monitor/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/template_url_service_util_unittest.cc
diff --git a/components/search_engines/template_url_service_util_unittest.cc b/components/search_engines/template_url_service_util_unittest.cc
index f29398344d4a7d5c49bee8f4d1f9b1d93be171c3..9f944c5c32b414cebae071e1ed51f076503177b1 100644
--- a/components/search_engines/template_url_service_util_unittest.cc
+++ b/components/search_engines/template_url_service_util_unittest.cc
@@ -96,6 +96,7 @@ TEST(TemplateURLServiceUtilTest, RemoveDuplicatePrepopulateIDs) {
for (TemplateURLService::TemplateURLVector::const_iterator itr =
local_turls.begin(); itr != local_turls.end(); ++itr) {
EXPECT_TRUE(base::StartsWith((*itr)->keyword(),
- base::ASCIIToUTF16("winner"), true));
+ base::ASCIIToUTF16("winner"),
+ base::CompareCase::SENSITIVE));
}
}
« no previous file with comments | « components/policy/core/common/preg_parser_win.cc ('k') | components/storage_monitor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698