Index: gfx/platform_font.h |
=================================================================== |
--- gfx/platform_font.h (revision 71168) |
+++ gfx/platform_font.h (working copy) |
@@ -22,7 +22,7 @@ |
static PlatformFont* CreateDefault(); |
static PlatformFont* CreateFromFont(const Font& other); |
static PlatformFont* CreateFromNativeFont(NativeFont native_font); |
- static PlatformFont* CreateFromNameAndSize(const string16& font_name, |
+ static PlatformFont* CreateFromNameAndSize(const std::wstring& font_name, |
int font_size); |
// Returns a new Font derived from the existing font. |
@@ -58,7 +58,7 @@ |
virtual int GetStyle() const = 0; |
// Returns the font name. |
- virtual string16 GetFontName() const = 0; |
+ virtual const std::wstring& GetFontName() const = 0; |
// Returns the font size in pixels. |
virtual int GetFontSize() const = 0; |