Index: third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp b/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
index d354cd12a75dbbbb4bc56ae1c9be6afc73679d6f..37abccfeab216ba3df185e5206048ce15fddcb10 100644 |
--- a/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp |
@@ -77,6 +77,12 @@ void FontCache::addSideloadedFontForTesting(SkTypeface* typeface) |
} |
// static |
+const AtomicString& FontCache::systemFontFamily() |
+{ |
+ return *s_menuFontFamilyName; |
+} |
+ |
+// static |
void FontCache::setMenuFontMetrics(const wchar_t* familyName, int32_t fontHeight) |
{ |
s_menuFontFamilyName = new AtomicString(familyName); |