diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-10 23:44:06 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-10 23:44:06 +0000 |
commit | cb8788d6c79b11391d330d2831a9aef4d7ac4441 (patch) | |
tree | 68302e073c9386f5fadbc065a570d719e6ba5bd1 /gfx/platform_font_gtk.h | |
parent | 8eb4fec4b18e3b647e8148d05aec450c19ebcf69 (diff) | |
download | chromium_src-cb8788d6c79b11391d330d2831a9aef4d7ac4441.zip chromium_src-cb8788d6c79b11391d330d2831a9aef4d7ac4441.tar.gz chromium_src-cb8788d6c79b11391d330d2831a9aef4d7ac4441.tar.bz2 |
A small wstring -> string16 cleanup in PlatformFont.
BUG=23581
Review URL: http://codereview.chromium.org/5794001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68908 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/platform_font_gtk.h')
-rw-r--r-- | gfx/platform_font_gtk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/platform_font_gtk.h b/gfx/platform_font_gtk.h index bc7be66..d36142d 100644 --- a/gfx/platform_font_gtk.h +++ b/gfx/platform_font_gtk.h @@ -39,7 +39,7 @@ class PlatformFontGtk : public PlatformFont { virtual int GetHeight() const; virtual int GetBaseline() const; virtual int GetAverageCharacterWidth() const; - virtual int GetStringWidth(const std::wstring& text) const; + virtual int GetStringWidth(const string16& text) const; virtual int GetExpectedTextWidth(int length) const; virtual int GetStyle() const; virtual const std::wstring& GetFontName() const; |