Index: Source/core/style/ComputedStyle.cpp |
diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp |
index 7fe135e88cc6309d1383f31041608db2d2e06f26..b614993b37795b1514085674b7d990e2fe38c796 100644 |
--- a/Source/core/style/ComputedStyle.cpp |
+++ b/Source/core/style/ComputedStyle.cpp |
@@ -1238,6 +1238,11 @@ bool ComputedStyle::setFontDescription(const FontDescription& v) |
return false; |
} |
+void ComputedStyle::setFont(const Font& font) |
+{ |
+ inherited.access()->font = font; |
+} |
+ |
const Length& ComputedStyle::specifiedLineHeight() const { return inherited->line_height; } |
Length ComputedStyle::lineHeight() const |
{ |