diff options
Diffstat (limited to 'gfx/font.cc')
-rw-r--r-- | gfx/font.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/font.cc b/gfx/font.cc index 6897022..8b8241d 100644 --- a/gfx/font.cc +++ b/gfx/font.cc @@ -30,7 +30,7 @@ Font::Font(NativeFont native_font) Font::Font(PlatformFont* platform_font) : platform_font_(platform_font) { } -Font::Font(const std::wstring& font_name, int font_size) +Font::Font(const string16& font_name, int font_size) : platform_font_(PlatformFont::CreateFromNameAndSize(font_name, font_size)) { } @@ -70,7 +70,7 @@ int Font::GetStyle() const { return platform_font_->GetStyle(); } -const std::wstring& Font::GetFontName() const { +string16 Font::GetFontName() const { return platform_font_->GetFontName(); } |