| Index: Source/core/animation/LengthStyleInterpolation.cpp
|
| diff --git a/Source/core/animation/LengthStyleInterpolation.cpp b/Source/core/animation/LengthStyleInterpolation.cpp
|
| index c4a1fff45ec77ada63f937f95d614497d8ea3b0d..643581c3f97c149af72cefc85a9c71d3565e5e3b 100644
|
| --- a/Source/core/animation/LengthStyleInterpolation.cpp
|
| +++ b/Source/core/animation/LengthStyleInterpolation.cpp
|
| @@ -269,7 +269,7 @@ static Length lengthFromInterpolableValue(const InterpolableValue& value, Interp
|
| if (hasPixels && hasPercent)
|
| return Length(CalculationValue::create(pixelsAndPercent, range));
|
| if (hasPixels)
|
| - return Length(clampToRange(pixelsAndPercent.pixels, range), Fixed);
|
| + return Length(CSSPrimitiveValue::clampToCSSLengthRange(clampToRange(pixelsAndPercent.pixels, range)), Fixed);
|
| if (hasPercent)
|
| return Length(clampToRange(pixelsAndPercent.percent, range), Percent);
|
| ASSERT_NOT_REACHED();
|
|
|