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

Unified Diff: ios/chrome/app/safe_mode_util_unittest.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 | « gpu/config/gpu_test_expectations_parser.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/safe_mode_util_unittest.cc
diff --git a/ios/chrome/app/safe_mode_util_unittest.cc b/ios/chrome/app/safe_mode_util_unittest.cc
index 1c9de677511e7cb5377f920320e93f1fee8a5b4d..c5f1d5b6f5cceecc7c3242a6314e122b78e21360 100644
--- a/ios/chrome/app/safe_mode_util_unittest.cc
+++ b/ios/chrome/app/safe_mode_util_unittest.cc
@@ -27,7 +27,8 @@ TEST_F(SafeModeUtilTest, GetAllImages) {
string lib_system_prefix("libSystem");
for (size_t i = 0; i < images.size(); ++i) {
string base_name = base::FilePath(images[i]).BaseName().value();
- if (base::StartsWithASCII(base_name, lib_system_prefix, true)) {
+ if (base::StartsWith(base_name, lib_system_prefix,
+ base::CompareCase::SENSITIVE)) {
found_lib_system = true;
break;
}
« no previous file with comments | « gpu/config/gpu_test_expectations_parser.cc ('k') | ios/chrome/browser/experimental_flags.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698