Index: third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm |
diff --git a/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm b/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm |
index f6768763da548d0dc8aba13bab3844d6b23f10c6..2fbff9f23bd6a11e710ed3d2444e677c6f70070a 100644 |
--- a/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm |
+++ b/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm |
@@ -56,6 +56,13 @@ namespace blink { |
const char* kColorEmojiFontMac = "Apple Color Emoji"; |
+// static |
+const AtomicString& FontCache::systemFontFamily() |
+{ |
+ DEFINE_STATIC_LOCAL(AtomicString, systemFontFamilyName, ("system-ui")); |
drott
2016/09/29 13:48:54
Does this work on all OS X versions?
|
+ return systemFontFamilyName; |
+} |
+ |
static void invalidateFontCache() |
{ |
if (!isMainThread()) { |