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 6041079e9fc0239551ff9cf3c13c68c1d41a5929..728f098216675a02cc90a29f067e3e3098c7fc1b 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); |