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

Unified Diff: base/test/test_suite.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
« no previous file with comments | « base/strings/string_util_unittest.cc ('k') | chrome/app/delay_load_hook_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_suite.cc
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc
index e281cff3da288f8f333f370a9f3a2fc6f668b7a4..2910466f3e99edbada8cdbef35386d5c3e87990e 100644
--- a/base/test/test_suite.cc
+++ b/base/test/test_suite.cc
@@ -338,7 +338,7 @@ void TestSuite::Initialize() {
i18n::SetICUDefaultLocale("en_US");
#else
std::string default_locale(uloc_getDefault());
- if (EndsWith(default_locale, "POSIX", false))
+ if (EndsWith(default_locale, "POSIX", CompareCase::INSENSITIVE_ASCII))
i18n::SetICUDefaultLocale("en_US");
#endif
#endif
« no previous file with comments | « base/strings/string_util_unittest.cc ('k') | chrome/app/delay_load_hook_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698