diff options
Diffstat (limited to 'chromium/ui/gfx/platform_font_pango.h')
-rw-r--r-- | chromium/ui/gfx/platform_font_pango.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/ui/gfx/platform_font_pango.h b/chromium/ui/gfx/platform_font_pango.h index 739a633aa47..548b3ac56e7 100644 --- a/chromium/ui/gfx/platform_font_pango.h +++ b/chromium/ui/gfx/platform_font_pango.h @@ -50,8 +50,6 @@ class GFX_EXPORT PlatformFontPango : public PlatformFont { virtual int GetHeight() const OVERRIDE; virtual int GetBaseline() const OVERRIDE; virtual int GetCapHeight() const OVERRIDE; - virtual int GetAverageCharacterWidth() const OVERRIDE; - virtual int GetStringWidth(const base::string16& text) const OVERRIDE; virtual int GetExpectedTextWidth(int length) const OVERRIDE; virtual int GetStyle() const OVERRIDE; virtual std::string GetFontName() const OVERRIDE; @@ -104,6 +102,7 @@ class GFX_EXPORT PlatformFontPango : public PlatformFont { // Cached metrics, generated at construction. int height_pixels_; int ascent_pixels_; + int cap_height_pixels_; // The pango metrics are much more expensive so we wait until we need them // to compute them. |