Index: third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
index 9927165b5ff21d6026cd904158b53076501f6f72..c059e55c1a9ff9ba600f6c2f95ba04aff1ee3243 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
@@ -617,7 +617,7 @@ LayoutUnit LayoutReplaced::computeReplacedLogicalHeight() const |
// If 'height' and 'width' both have computed values of 'auto' and the element also has an intrinsic height, then that intrinsic height is the used value of 'height'. |
if (widthIsAuto && intrinsicSizingInfo.hasHeight) |
- return computeReplacedLogicalHeightRespectingMinMaxHeight(constrainedSize.height()); |
+ return computeReplacedLogicalHeightRespectingMinMaxHeight(LayoutUnit(constrainedSize.height())); |
// Otherwise, if 'height' has a computed value of 'auto', and the element has an intrinsic ratio then the used value of 'height' is: |
// (used width) / (intrinsic ratio) |