Index: ui/gfx/platform_font_pango.h |
diff --git a/ui/gfx/platform_font_pango.h b/ui/gfx/platform_font_pango.h |
index 0846f5e0adf327a23109e96340be4d5fa3778c77..b731bdf69dfd703b526d383814c83d2874e85e97 100644 |
--- a/ui/gfx/platform_font_pango.h |
+++ b/ui/gfx/platform_font_pango.h |
@@ -49,9 +49,9 @@ class GFX_EXPORT PlatformFontPango : public PlatformFont { |
virtual Font DeriveFont(int size_delta, int style) const OVERRIDE; |
virtual int GetHeight() const OVERRIDE; |
virtual int GetBaseline() const OVERRIDE; |
- virtual int GetAverageCharacterWidth() const OVERRIDE; |
- virtual int GetStringWidth(const base::string16& text) const OVERRIDE; |
- virtual int GetExpectedTextWidth(int length) const OVERRIDE; |
+ virtual float GetAverageCharacterWidth() const OVERRIDE; |
+ virtual float GetStringWidth(const base::string16& text) const OVERRIDE; |
+ virtual float GetExpectedTextWidth(int length) const OVERRIDE; |
virtual int GetStyle() const OVERRIDE; |
virtual std::string GetFontName() const OVERRIDE; |
virtual int GetFontSize() const OVERRIDE; |