| Index: third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| index 3a438d43ce83260dd2ce56fef67cceba215110d6..deb1d2df1d9a6e44880bec9f933427d584f8d1ab 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| @@ -357,7 +357,7 @@ template<> unsigned short CSSPrimitiveValue::computeLength(const CSSToLengthConv
|
|
|
| template<> float CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData) const
|
| {
|
| - return static_cast<float>(computeLengthDouble(conversionData));
|
| + return clampTo<float>(computeLengthDouble(conversionData));
|
| }
|
|
|
| template<> double CSSPrimitiveValue::computeLength(const CSSToLengthConversionData& conversionData) const
|
|
|