| Index: third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp b/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
|
| index 375a0cc9918b2ded2399b7f64da88600c60312d3..3709e4a2028f44986229e34fc2f2a98a5c3fc5dc 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
|
| @@ -97,9 +97,9 @@ float SizesAttributeParser::effectiveSize() {
|
| return effectiveSizeDefaultValue();
|
| }
|
|
|
| -unsigned SizesAttributeParser::effectiveSizeDefaultValue() {
|
| +float SizesAttributeParser::effectiveSizeDefaultValue() {
|
| // Returning the equivalent of "100vw"
|
| - return m_mediaValues->viewportWidth();
|
| + return clampTo<float>(m_mediaValues->viewportWidth());
|
| }
|
|
|
| } // namespace blink
|
|
|