Index: ui/gfx/platform_font_pango.cc |
diff --git a/ui/gfx/platform_font_pango.cc b/ui/gfx/platform_font_pango.cc |
index f0ed5e4d80af6f79dd9035604909d029c795ea70..90a3a091198972633a5fdd45ec6827a6afa68b40 100644 |
--- a/ui/gfx/platform_font_pango.cc |
+++ b/ui/gfx/platform_font_pango.cc |
@@ -235,8 +235,8 @@ int PlatformFontPango::GetAverageCharacterWidth() const { |
} |
int PlatformFontPango::GetStringWidth(const string16& text) const { |
- return CanvasSkia::GetStringWidth(text, |
- Font(const_cast<PlatformFontPango*>(this))); |
+ return Canvas::GetStringWidth(text, |
+ Font(const_cast<PlatformFontPango*>(this))); |
} |
int PlatformFontPango::GetExpectedTextWidth(int length) const { |