Index: Source/core/rendering/RenderGrid.cpp |
diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp |
index 36fb8e077ab2fdc938b484214339807b3d9f0225..45b19b122a8259c0332a08bde6fa2bdc813eba99 100644 |
--- a/Source/core/rendering/RenderGrid.cpp |
+++ b/Source/core/rendering/RenderGrid.cpp |
@@ -259,14 +259,6 @@ void RenderGrid::layoutBlock(bool relayoutChildren) |
// It would be nice to refactor some of the duplicate code. |
LayoutRepainter repainter(*this, checkForRepaintDuringLayout()); |
LayoutStateMaintainer statePusher(view(), this, locationOffset(), hasTransform() || hasReflection() || style()->isFlippedBlocksWritingMode()); |
- |
- // Regions changing widths can force us to relayout our children. |
- RenderFlowThread* flowThread = flowThreadContainingBlock(); |
- if (logicalWidthChangedInRegions(flowThread)) |
- relayoutChildren = true; |
- if (updateRegionsAndShapesLogicalSize(flowThread)) |
- relayoutChildren = true; |
- |
LayoutSize previousSize = size(); |
setLogicalHeight(0); |
@@ -282,8 +274,6 @@ void RenderGrid::layoutBlock(bool relayoutChildren) |
layoutPositionedObjects(relayoutChildren || isRoot()); |
- computeRegionRangeForBlock(flowThread); |
- |
computeOverflow(oldClientAfterEdge); |
statePusher.pop(); |