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

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: jochen review nit (add braces) 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
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 e52387e5fedee2a3af13ca8b55ef2423d2b001dd..398fc3153a2e8c93d307c07a73be0a842f2e2932 100644
--- a/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
+++ b/third_party/WebKit/Source/web/linux/WebFontRendering.cpp
@@ -81,4 +81,9 @@ void WebFontRendering::setDefaultFontSize(int size) {
LayoutThemeFontProvider::setDefaultFontSize(size);
}
+// static
+void WebFontRendering::setSystemFontFamily(const WebString& name) {
+ FontCache::setSystemFontFamily(name);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698