Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: ui/gfx/platform_font_mac.mm

Issue 79263004: Enables font-related unittests again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/platform_font_mac.h ('k') | ui/gfx/platform_font_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
}
« no previous file with comments | « ui/gfx/platform_font_mac.h ('k') | ui/gfx/platform_font_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698