Index: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp |
index 0a17cb941f084358815e3a8f712bf5c04a26330a..c76579423256b3fc814fa998b3ee881723fb40eb 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp |
@@ -2132,8 +2132,8 @@ void LayoutFlexibleBox::applyStretchAlignmentToChild( |
LayoutUnit childWidth = |
(lineCrossAxisExtent - crossAxisMarginExtentForChild(child)) |
.clampNegativeToZero(); |
- childWidth = |
- child.constrainLogicalWidthByMinMax(childWidth, childWidth, this); |
+ childWidth = child.constrainLogicalWidthByMinMax( |
+ childWidth, crossAxisContentExtent(), this); |
if (childWidth != child.logicalWidth()) { |
child.setOverrideLogicalContentWidth( |