| Index: third_party/WebKit/Source/platform/LengthFunctions.cpp
|
| diff --git a/third_party/WebKit/Source/platform/LengthFunctions.cpp b/third_party/WebKit/Source/platform/LengthFunctions.cpp
|
| index 0c5dcaa03cdadc347027c7c8073f001fc8928037..b4380728e93cca4948a9bc24853bbe3f9d746cec 100644
|
| --- a/third_party/WebKit/Source/platform/LengthFunctions.cpp
|
| +++ b/third_party/WebKit/Source/platform/LengthFunctions.cpp
|
| @@ -31,7 +31,7 @@ namespace blink {
|
|
|
| int intValueForLength(const Length& length, int maximumValue)
|
| {
|
| - return static_cast<int>(valueForLength(length, LayoutUnit(maximumValue)));
|
| + return valueForLength(length, LayoutUnit(maximumValue)).toInt();
|
| }
|
|
|
| float floatValueForLength(const Length& length, float maximumValue)
|
|
|