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

Unified Diff: ui/gfx/font.h

Issue 8392017: Change string16 to std::string in the gfx::Font() interface. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix mac unit tests Created 9 years, 2 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 | « printing/print_settings_initializer.cc ('k') | ui/gfx/font.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font.h
diff --git a/ui/gfx/font.h b/ui/gfx/font.h
index cdb9542e85dcfc26635442dbef3d6edb92ae83be..22d0698e958d67f4a9196244522b4ff5c6b3955e 100644
--- a/ui/gfx/font.h
+++ b/ui/gfx/font.h
@@ -44,7 +44,7 @@ class UI_EXPORT Font {
explicit Font(PlatformFont* platform_font);
// Creates a font with the specified name and size in pixels.
Avi (use Gerrit) 2011/10/27 20:54:17 Specify UTF-8 encoding for font names?
- Font(const string16& font_name, int font_size);
+ Font(const std::string& font_name, int font_size);
~Font();
@@ -86,7 +86,7 @@ class UI_EXPORT Font {
int GetStyle() const;
// Returns the font name.
- string16 GetFontName() const;
+ std::string GetFontName() const;
// Returns the font size in pixels.
int GetFontSize() const;
« no previous file with comments | « printing/print_settings_initializer.cc ('k') | ui/gfx/font.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698