summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/options/fonts_page_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/options/fonts_page_gtk.cc')
-rw-r--r--chrome/browser/gtk/options/fonts_page_gtk.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/gtk/options/fonts_page_gtk.cc b/chrome/browser/gtk/options/fonts_page_gtk.cc
index 15ebf9b..555f098 100644
--- a/chrome/browser/gtk/options/fonts_page_gtk.cc
+++ b/chrome/browser/gtk/options/fonts_page_gtk.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/gtk/options/fonts_page_gtk.h"
#include "app/l10n_util.h"
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/default_encoding_combo_model.h"
@@ -28,8 +29,8 @@ std::string MakeFontName(std::string family_name, int pixel_size) {
// TODO(mattm): We can pass in the size in pixels (px), and the font button
// actually honors it, but when you open the selector it interprets it as
// points. See crbug.com/17857
- SStringPrintf(&fontname, "%s, %dpx", WideToUTF8(actual_family_name).c_str(),
- pixel_size);
+ base::SStringPrintf(&fontname, "%s, %dpx",
+ WideToUTF8(actual_family_name).c_str(), pixel_size);
return fontname;
}