Index: ui/gfx/platform_font_ios.mm |
diff --git a/ui/gfx/platform_font_ios.mm b/ui/gfx/platform_font_ios.mm |
index 92608d322c0ec46295a393aef085e4e2ac79785f..5b4c34beee04621b03c44e9bb8c5c488def492d6 100644 |
--- a/ui/gfx/platform_font_ios.mm |
+++ b/ui/gfx/platform_font_ios.mm |
@@ -76,6 +76,10 @@ std::string PlatformFontIOS::GetFontName() const { |
return font_name_; |
} |
+std::string PlatformFontIOS::GetActualFontNameForTest() const { |
+ return base::SysNSStringToUTF8([GetNativeFont() familyName]); |
+} |
+ |
int PlatformFontIOS::GetFontSize() const { |
return font_size_; |
} |