Index: ui/gfx/platform_font_ios.mm |
diff --git a/ui/gfx/platform_font_ios.mm b/ui/gfx/platform_font_ios.mm |
index 32dcca4e39598ce253b3685f6df279e822c444a9..aba239b732dfddf5b17c0cc9af9e90109fb3fe3e 100644 |
--- a/ui/gfx/platform_font_ios.mm |
+++ b/ui/gfx/platform_font_ios.mm |
@@ -55,15 +55,6 @@ int PlatformFontIOS::GetCapHeight() const { |
return cap_height_; |
} |
-int PlatformFontIOS::GetAverageCharacterWidth() const { |
- return average_width_; |
-} |
- |
-int PlatformFontIOS::GetStringWidth(const base::string16& text) const { |
- NSString* ns_text = base::SysUTF16ToNSString(text); |
- return [ns_text sizeWithFont:GetNativeFont()].width; |
-} |
- |
int PlatformFontIOS::GetExpectedTextWidth(int length) const { |
return length * average_width_; |
} |