Index: Source/core/rendering/RenderBlockFlow.cpp |
diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp |
index f959d71380ca9ec060a37c9bc4121c4c977bb6cf..e1a19a40dfd554c8864919804b59553c915bb30c 100644 |
--- a/Source/core/rendering/RenderBlockFlow.cpp |
+++ b/Source/core/rendering/RenderBlockFlow.cpp |
@@ -308,15 +308,16 @@ void RenderBlockFlow::layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalH |
LayoutUnit previousHeight = logicalHeight(); |
setLogicalHeight(beforeEdge); |
- FastTextAutosizer* textAutosizer = document().fastTextAutosizer(); |
- if (textAutosizer) |
- textAutosizer->beginLayout(this); |
- |
m_repaintLogicalTop = 0; |
m_repaintLogicalBottom = 0; |
LayoutUnit maxFloatLogicalBottom = 0; |
if (!firstChild() && !isAnonymousBlock()) |
setChildrenInline(true); |
+ |
+ FastTextAutosizer* textAutosizer = document().fastTextAutosizer(); |
+ if (textAutosizer) |
+ textAutosizer->beginLayout(this); |
+ |
if (childrenInline()) |
layoutInlineChildren(relayoutChildren, m_repaintLogicalTop, m_repaintLogicalBottom, afterEdge); |
else |