Index: Source/core/rendering/RenderGrid.cpp |
diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp |
index fce09911d7c73dce2f2a867a7c8c1123b7a63e20..0f5500fc55cdb0b541158f8b50c19831d759c36e 100644 |
--- a/Source/core/rendering/RenderGrid.cpp |
+++ b/Source/core/rendering/RenderGrid.cpp |
@@ -268,10 +268,6 @@ void RenderGrid::layoutBlock(bool relayoutChildren) |
LayoutRepainter repainter(*this, checkForRepaintDuringLayout()); |
LayoutStateMaintainer statePusher(*this, locationOffset()); |
- RenderFlowThread* flowThread = flowThreadContainingBlock(); |
- if (updateRegionsAndShapesLogicalSize(flowThread)) |
- relayoutChildren = true; |
- |
LayoutSize previousSize = size(); |
setLogicalHeight(0); |
@@ -287,7 +283,7 @@ void RenderGrid::layoutBlock(bool relayoutChildren) |
layoutPositionedObjects(relayoutChildren || isRoot()); |
- computeRegionRangeForBlock(flowThread); |
+ computeRegionRangeForBlock(flowThreadContainingBlock()); |
computeOverflow(oldClientAfterEdge); |