| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 464aa2775f1b570c3ff8dbf14ec791a4f63b1d77..e775c8b624e9c44ba916fc60ef3d408743d13ad9 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -2254,11 +2254,6 @@ void LayoutBox::computeLogicalWidth(LogicalExtentComputedValues& computedValues)
|
| // Implied minimum size of Grid items.
|
| computedValues.m_extent = constrainLogicalWidthByMinMax(minPreferredLogicalWidth(), containerWidthInInlineDirection, cb);
|
| } else {
|
| - if (!hasPerpendicularContainingBlock && cb->isFlexItem() && styleToUse.logicalWidth().hasPercent() && !isOutOfFlowPositioned()) {
|
| - LayoutUnit stretchedWidth = toLayoutFlexibleBox(cb->parent())->childLogicalWidthForPercentageResolution(*cb);
|
| - if (stretchedWidth != LayoutUnit(-1))
|
| - containerWidthInInlineDirection = stretchedWidth;
|
| - }
|
| LayoutUnit preferredWidth = computeLogicalWidthUsing(MainOrPreferredSize, styleToUse.logicalWidth(), containerWidthInInlineDirection, cb);
|
| computedValues.m_extent = constrainLogicalWidthByMinMax(preferredWidth, containerWidthInInlineDirection, cb);
|
| }
|
|
|