Index: Source/core/rendering/RenderFlexibleBox.cpp |
diff --git a/Source/core/rendering/RenderFlexibleBox.cpp b/Source/core/rendering/RenderFlexibleBox.cpp |
index 84355893d12078e4e7f9cb3bc14a9a0b43b5814c..b91655ed2a554dbb128e5180c2a8f75f5583c50f 100644 |
--- a/Source/core/rendering/RenderFlexibleBox.cpp |
+++ b/Source/core/rendering/RenderFlexibleBox.cpp |
@@ -244,10 +244,6 @@ void RenderFlexibleBox::layoutBlock(bool relayoutChildren) |
{ |
LayoutStateMaintainer statePusher(*this, locationOffset()); |
- RenderFlowThread* flowThread = flowThreadContainingBlock(); |
- if (updateRegionsAndShapesLogicalSize(flowThread)) |
- relayoutChildren = true; |
- |
m_numberOfInFlowChildrenOnFirstLine = -1; |
RenderBlock::startDelayUpdateScrollInfo(); |
@@ -266,7 +262,7 @@ void RenderFlexibleBox::layoutBlock(bool relayoutChildren) |
layoutPositionedObjects(relayoutChildren || isRoot()); |
- computeRegionRangeForBlock(flowThread); |
+ computeRegionRangeForBlock(flowThreadContainingBlock()); |
repaintChildrenDuringLayoutIfMoved(oldChildRects); |
// FIXME: css3/flexbox/repaint-rtl-column.html seems to repaint more overflow than it needs to. |