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 0a15e5171dc3df64b62c720f63cf4653db1e8681..8b4a68f0ced5e7da63cb9d207bdb9b31c1a35d65 100644 |
--- a/third_party/WebKit/Source/platform/LengthFunctions.cpp |
+++ b/third_party/WebKit/Source/platform/LengthFunctions.cpp |
@@ -28,9 +28,9 @@ |
namespace blink { |
-int intValueForLength(const Length& length, LayoutUnit maximumValue) |
+int intValueForLength(const Length& length, int maximumValue) |
{ |
- return static_cast<int>(valueForLength(length, maximumValue)); |
+ return static_cast<int>(valueForLength(length, LayoutUnit(maximumValue))); |
} |
float floatValueForLength(const Length& length, float maximumValue) |