Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: gfx/font.h

Issue 6121004: Remove wstring from gfx. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gfx/canvas_skia_win.cc ('k') | gfx/font.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gfx/font.h
===================================================================
--- gfx/font.h (revision 71043)
+++ gfx/font.h (working copy)
@@ -43,7 +43,7 @@
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 @@
int GetStyle() const;
// Returns the font name.
- const std::wstring& GetFontName() const;
+ const string16& GetFontName() const;
// Returns the font size in pixels.
int GetFontSize() const;
« no previous file with comments | « gfx/canvas_skia_win.cc ('k') | gfx/font.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698