Index: Source/core/css/resolver/StyleResolverState.h |
diff --git a/Source/core/css/resolver/StyleResolverState.h b/Source/core/css/resolver/StyleResolverState.h |
index 7b33fad86e162a5c2c6891977d5d71ef876e7594..10b02d855fcb197cb62e8f8ed6a98e1fa566cd5a 100644 |
--- a/Source/core/css/resolver/StyleResolverState.h |
+++ b/Source/core/css/resolver/StyleResolverState.h |
@@ -60,7 +60,12 @@ public: |
const ElementResolveContext& elementContext() const { return m_elementContext; } |
- void setStyle(PassRefPtr<RenderStyle> style) { m_style = style; m_cssToLengthConversionData.setStyle(m_style.get()); } |
+ void setStyle(PassRefPtr<RenderStyle> style) |
+ { |
+ m_style = style; |
+ m_cssToLengthConversionData.setStyle(m_style.get()); |
+ m_fontBuilder.setStyle(m_style.get()); |
+ } |
const RenderStyle* style() const { return m_style.get(); } |
RenderStyle* style() { return m_style.get(); } |
PassRefPtr<RenderStyle> takeStyle() { return m_style.release(); } |