Index: Source/core/rendering/RenderGrid.cpp |
diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp |
index 2776bb04a7d4b37df84b4a9273893279d0768ebc..1b3490806c861a5b381ae125387d4760ba30f9dc 100644 |
--- a/Source/core/rendering/RenderGrid.cpp |
+++ b/Source/core/rendering/RenderGrid.cpp |
@@ -261,10 +261,7 @@ void RenderGrid::layoutBlock(bool relayoutChildren) |
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; |