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

Unified Diff: components/favicon/core/favicon_driver_impl.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
Index: components/favicon/core/favicon_driver_impl.cc
diff --git a/components/favicon/core/favicon_driver_impl.cc b/components/favicon/core/favicon_driver_impl.cc
index 90075698f15cc649cb276a3795efa7d3d5027b9f..bd22f7b30ff8f1473e57c00c0bc3511ac6298399 100644
--- a/components/favicon/core/favicon_driver_impl.cc
+++ b/components/favicon/core/favicon_driver_impl.cc
@@ -30,7 +30,7 @@ bool IsIconNTPEnabled() {
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableIconNtp))
return true;
- return base::StartsWithASCII(group_name, "Enabled", true);
+ return base::StartsWith(group_name, "Enabled", base::CompareCase::SENSITIVE);
}
#if defined(OS_ANDROID) || defined(OS_IOS)
« no previous file with comments | « components/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc ('k') | components/gcm_driver/registration_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698