summaryrefslogtreecommitdiffstats
path: root/gfx/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/font.h')
-rw-r--r--gfx/font.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/font.h b/gfx/font.h
index d0b16a4..eb6e4d5 100644
--- a/gfx/font.h
+++ b/gfx/font.h
@@ -43,7 +43,7 @@ class Font {
explicit Font(PlatformFont* platform_font);
// Creates a font with the specified name and size.
- Font(const std::wstring& font_name, int font_size);
+ Font(const string16& font_name, int font_size);
~Font();
@@ -85,7 +85,7 @@ class Font {
int GetStyle() const;
// Returns the font name.
- const std::wstring& GetFontName() const;
+ string16 GetFontName() const;
// Returns the font size in pixels.
int GetFontSize() const;