Index: Source/core/rendering/FastTextAutosizer.cpp |
diff --git a/Source/core/rendering/FastTextAutosizer.cpp b/Source/core/rendering/FastTextAutosizer.cpp |
index 3f0f5573fecb952b4728169817acdf3908740cdd..f1195baa9161fcfc5566801607b1cfdc9a0dd18a 100644 |
--- a/Source/core/rendering/FastTextAutosizer.cpp |
+++ b/Source/core/rendering/FastTextAutosizer.cpp |
@@ -802,6 +802,9 @@ void FastTextAutosizer::applyMultiplier(RenderObject* renderer, float multiplier |
style->setTextAutosizingMultiplier(multiplier); |
style->setUnique(); |
renderer->setStyleInternal(style.release()); |
+ |
+ if (renderer->isRenderBlock()) |
+ toRenderBlock(renderer)->invalidateLineHeight(); |
} |
bool FastTextAutosizer::isWiderOrNarrowerDescendant(Cluster* cluster) |