Index: ui/gfx/platform_font_mac.mm |
diff --git a/ui/gfx/platform_font_mac.mm b/ui/gfx/platform_font_mac.mm |
index fa9d589aff29070bc5ddc56d0777bb36ce7d778d..877507eb47bce1f22de31973198fa728056a7f23 100644 |
--- a/ui/gfx/platform_font_mac.mm |
+++ b/ui/gfx/platform_font_mac.mm |
@@ -126,6 +126,10 @@ std::string PlatformFontMac::GetFontName() const { |
return font_name_; |
} |
+std::string PlatformFontMac::GetActualFontNameForTesting() const { |
+ return base::SysNSStringToUTF8([native_font_ familyName]); |
+} |
+ |
int PlatformFontMac::GetFontSize() const { |
return font_size_; |
} |