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

Unified Diff: third_party/WebKit/Source/platform/mac/ThemeMac.mm

Issue 2388623002: Replace internal uses of BlinkMacSystemFont on Mac with system-ui (Closed)
Patch Set: Rebase Created 4 years, 2 months 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 | « third_party/WebKit/Source/platform/fonts/FontCache.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/mac/ThemeMac.mm
diff --git a/third_party/WebKit/Source/platform/mac/ThemeMac.mm b/third_party/WebKit/Source/platform/mac/ThemeMac.mm
index aedd5baaad7432d41d8a44413cdb2fda2730ff14..c4eb06919a5b7e4d4a7e64f6b1158b12c71bdc41 100644
--- a/third_party/WebKit/Source/platform/mac/ThemeMac.mm
+++ b/third_party/WebKit/Source/platform/mac/ThemeMac.mm
@@ -393,7 +393,7 @@ FontDescription ThemeMac::controlFont(ControlPart part,
NSFont* nsFont = [NSFont
systemFontOfSize:[NSFont systemFontSizeForControlSize:
controlSizeForFont(fontDescription)]];
- result.firstFamily().setFamily(@"BlinkMacSystemFont");
+ result.firstFamily().setFamily(FontFamilyNames::system_ui);
result.setComputedSize([nsFont pointSize] * zoomFactor);
result.setSpecifiedSize([nsFont pointSize] * zoomFactor);
return result;
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/FontCache.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698