Index: Source/core/style/ComputedStyle.cpp |
diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp |
index 594eea063e035cd2c3b09557c5e04716b0271589..8e7e51b8245b3c339aaa50da05065f2d790a2b67 100644 |
--- a/Source/core/style/ComputedStyle.cpp |
+++ b/Source/core/style/ComputedStyle.cpp |
@@ -1254,6 +1254,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 |
{ |