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

Unified Diff: third_party/WebKit/Source/web/linux/WebFontRendering.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/web/linux/WebFontRendering.cpp
diff --git a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
index 79f440c3d46da0ff7432ef34a064603cb24d9d80..d6b9071b7614c5fecf80feeb06380fc7af6ad428 100644
--- a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
+++ b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
@@ -89,4 +89,10 @@ void WebFontRendering::setDefaultFontSize(int size)
LayoutThemeFontProvider::setDefaultFontSize(size);
}
+// static
+void WebFontRendering::setSystemFontFamily(const char* name)
+{
+ FontCache::setSystemFontFamily(name);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698