Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
index 491f7a8af2b8332511ba74428a2479dfd93a63ed..a62c97d0745eba68bcedfd7215f39e9c64c0cf5c 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
@@ -375,16 +375,6 @@ inline bool LayoutBlockFlow::layoutBlockFlow(bool relayoutChildren, LayoutUnit & |
else |
layoutBlockChildren(relayoutChildren, layoutScope, beforeEdge, afterEdge); |
- if (needsRecalcLogicalWidthAfterLayoutChildren()) { |
- // In perpendicular writing-mode, min-content logicalWidth depends on the child's logicalHeight, |
- // so logicalWidth needs to be updated after children layout is done. |
- // Strictly speaking, children need re-layout if logicalWidth is changed, but in most cases, |
- // perpendicular children do not re-flow according to parent's logicalWidth. |
- clearNeedsRecalcLogicalWidthAfterLayoutChildren(); |
- setPreferredLogicalWidthsDirty(MarkOnlyThis); |
- updateLogicalWidthAndColumnWidth(); |
- } |
- |
// Expand our intrinsic height to encompass floats. |
if (lowestFloatLogicalBottom() > (logicalHeight() - afterEdge) && createsNewFormattingContext()) |
setLogicalHeight(lowestFloatLogicalBottom() + afterEdge); |