| Index: Source/platform/LengthFunctions.cpp
|
| diff --git a/Source/platform/LengthFunctions.cpp b/Source/platform/LengthFunctions.cpp
|
| index bb803dcf7cc36ac4533821e36445442115073abf..5894d0bb406376173c56cdd6f0282e87501b1ea4 100644
|
| --- a/Source/platform/LengthFunctions.cpp
|
| +++ b/Source/platform/LengthFunctions.cpp
|
| @@ -71,7 +71,7 @@ LayoutUnit minimumValueForLength(const Length& length, LayoutUnit maximumValue)
|
| // Don't remove the extra cast to float. It is needed for rounding on 32-bit Intel machines that use the FPU stack.
|
| return static_cast<float>(maximumValue * length.percent() / 100.0f);
|
| case Calculated:
|
| - return length.nonNanCalculatedValue(maximumValue);
|
| + return length.nonNanCalculatedValue(maximumValue.toFloat());
|
| case FillAvailable:
|
| case Auto:
|
| return 0;
|
|
|