| Index: Source/core/rendering/RenderFlexibleBox.cpp
|
| diff --git a/Source/core/rendering/RenderFlexibleBox.cpp b/Source/core/rendering/RenderFlexibleBox.cpp
|
| index 2a6c7056fe62f5936d31f67d7d298d59b86f3769..291505ff8d228b99cebc69c41201e14051e46555 100644
|
| --- a/Source/core/rendering/RenderFlexibleBox.cpp
|
| +++ b/Source/core/rendering/RenderFlexibleBox.cpp
|
| @@ -116,11 +116,7 @@ void RenderFlexibleBox::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidt
|
| minLogicalWidth += minPreferredLogicalWidth;
|
| } else {
|
| minLogicalWidth = std::max(minPreferredLogicalWidth, minLogicalWidth);
|
| - if (isMultiline()) {
|
| - // For multiline, the max preferred width is if you never break between items.
|
| - maxLogicalWidth += maxPreferredLogicalWidth;
|
| - } else
|
| - maxLogicalWidth = std::max(maxPreferredLogicalWidth, maxLogicalWidth);
|
| + maxLogicalWidth = std::max(maxPreferredLogicalWidth, maxLogicalWidth);
|
| }
|
| }
|
|
|
|
|