| Index: Source/core/rendering/RenderFlexibleBox.cpp
|
| diff --git a/Source/core/rendering/RenderFlexibleBox.cpp b/Source/core/rendering/RenderFlexibleBox.cpp
|
| index d71accfa31a8cca3c227a327e50373efdec09540..7cb1c671c53bc8417cfb52b5fdccc2f719bf66aa 100644
|
| --- a/Source/core/rendering/RenderFlexibleBox.cpp
|
| +++ b/Source/core/rendering/RenderFlexibleBox.cpp
|
| @@ -404,8 +404,7 @@ LayoutUnit RenderFlexibleBox::mainAxisContentExtent(LayoutUnit contentLogicalHei
|
| if (isColumnFlow()) {
|
| LogicalExtentComputedValues computedValues;
|
| LayoutUnit borderPaddingAndScrollbar = borderAndPaddingLogicalHeight() + scrollbarLogicalHeight();
|
| - // FIXME: Remove this std:max once we enable saturated layout arithmetic. It's just here to handle overflow.
|
| - LayoutUnit borderBoxLogicalHeight = std::max(contentLogicalHeight, contentLogicalHeight + borderPaddingAndScrollbar);
|
| + LayoutUnit borderBoxLogicalHeight = contentLogicalHeight + borderPaddingAndScrollbar;
|
| computeLogicalHeight(borderBoxLogicalHeight, logicalTop(), computedValues);
|
| if (computedValues.m_extent == LayoutUnit::max())
|
| return computedValues.m_extent;
|
|
|