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

Unified Diff: chrome/browser/extensions/api/font_settings/font_settings_api.cc

Issue 12767006: [Cleanup] Remove StringPrintf from global namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, once more Created 7 years, 9 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/browser/extensions/api/font_settings/font_settings_api.cc
diff --git a/chrome/browser/extensions/api/font_settings/font_settings_api.cc b/chrome/browser/extensions/api/font_settings/font_settings_api.cc
index d56ff7fc6ab642025f7b03fdced7b941773d2180..0c2b0cb30bad92e544941d97d532c927c915c4b3 100644
--- a/chrome/browser/extensions/api/font_settings/font_settings_api.cc
+++ b/chrome/browser/extensions/api/font_settings/font_settings_api.cc
@@ -67,9 +67,9 @@ std::string GetFontNamePrefPath(fonts::GenericFamily generic_family_enum,
if (script.empty())
script = prefs::kWebKitCommonScript;
std::string generic_family = fonts::ToString(generic_family_enum);
- return StringPrintf(kWebKitFontPrefFormat,
- generic_family.c_str(),
- script.c_str());
+ return base::StringPrintf(kWebKitFontPrefFormat,
+ generic_family.c_str(),
+ script.c_str());
}
// Returns the localized name of a font so that it can be matched within the

Powered by Google App Engine
This is Rietveld 408576698