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..32dcca4e39598ce253b3685f6df279e822c444a9 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::GetActualFontNameForTesting() const { |
+ return base::SysNSStringToUTF8([GetNativeFont() familyName]); |
+} |
+ |
int PlatformFontIOS::GetFontSize() const { |
return font_size_; |
} |