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

Unified Diff: chrome/common/pref_names_util.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger 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
Index: chrome/common/pref_names_util.cc
diff --git a/chrome/common/pref_names_util.cc b/chrome/common/pref_names_util.cc
index 7ab3db3c358cda3f4e8ee0e1fa7acb900df508c0..085726586b2468399968b7722025247456572017 100644
--- a/chrome/common/pref_names_util.cc
+++ b/chrome/common/pref_names_util.cc
@@ -13,7 +13,7 @@ const char kWebKitFontPrefPrefix[] = "webkit.webprefs.fonts.";
bool ParseFontNamePrefPath(const std::string& pref_path,
std::string* generic_family,
std::string* script) {
- if (!StartsWithASCII(pref_path, kWebKitFontPrefPrefix, true))
+ if (!base::StartsWithASCII(pref_path, kWebKitFontPrefPrefix, true))
return false;
size_t start = strlen(kWebKitFontPrefPrefix);

Powered by Google App Engine
This is Rietveld 408576698