Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index 906a00cb648fe8b3367e9422eecb80b449c3e92e..85c72cd95d2b55f81497503b0a263098921784ac 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -344,7 +344,7 @@ void RenderBlock::styleDidChange(StyleDifference diff, const RenderStyle* oldSty |
textAutosizer->record(this); |
propagateStyleToAnonymousChildren(true); |
- m_lineHeight = -1; |
+ invalidateLineHeight(); |
// It's possible for our border/padding to change, but for the overall logical width of the block to |
// end up being the same. We keep track of this change so in layoutBlock, we can know to set relayoutChildren=true. |