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

Unified Diff: third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp

Issue 2138613002: Set the font family for the "system-ui" generic font family on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP Created 4 years, 3 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
Index: third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp b/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp
index 7fe3bd901ce58f8dc28c6de1f79b3cde85be2744..66a3909118e98686536ab305c32ca2f920b737b6 100644
--- a/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp
+++ b/third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp
@@ -39,6 +39,19 @@
namespace blink {
+// static
+const AtomicString& FontCache::systemFontFamily()
+{
+ DEFINE_STATIC_LOCAL(AtomicString, systemFontFamilyName, ());
+ return systemFontFamilyName;
+}
+
+// static
+void FontCache::setSystemFontFamily(const char* familyName)
+{
+ NOTREACHED();
+}
+
PassRefPtr<SimpleFontData> FontCache::fallbackFontForCharacter(const FontDescription& fontDescription, UChar32 c, const SimpleFontData*, FontFallbackPriority fallbackPriority)
{
sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault());

Powered by Google App Engine
This is Rietveld 408576698