Chromium Code Reviews| Index: gfx/platform_font.h |
| =================================================================== |
| --- gfx/platform_font.h (revision 71043) |
| +++ 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 std::wstring& font_name, |
| + static PlatformFont* CreateFromNameAndSize(const string16& 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 const std::wstring& GetFontName() const = 0; |
| + virtual const string16& GetFontName() const = 0; |
|
evanm
2011/01/11 21:56:47
Not your problem, but this really shoulda returned
Avi (use Gerrit)
2011/01/11 22:15:28
Done.
|
| // Returns the font size in pixels. |
| virtual int GetFontSize() const = 0; |