Index: Source/core/rendering/RenderDeprecatedFlexibleBox.cpp |
diff --git a/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp b/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp |
index 1463ad62f4c4934e4b695abab13b6be25304dd6a..ba959445f1ee61d3f3607be57abc8d0feaf056d3 100644 |
--- a/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp |
+++ b/Source/core/rendering/RenderDeprecatedFlexibleBox.cpp |
@@ -260,13 +260,6 @@ void RenderDeprecatedFlexibleBox::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; |
- |
LayoutSize previousSize = size(); |
updateLogicalWidth(); |
@@ -294,8 +287,6 @@ void RenderDeprecatedFlexibleBox::layoutBlock(bool relayoutChildren) |
layoutPositionedObjects(relayoutChildren || isRoot()); |
- computeRegionRangeForBlock(flowThread); |
- |
computeOverflow(oldClientAfterEdge); |
statePusher.pop(); |