| 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 6883f6a6be05b5ed866878a3fbfd19daf3153cfe..f0b1dca664c04508bff8b312db345b092f939058 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
|
| @@ -408,7 +408,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
|
|
|