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 be5b49af4ab988464ea051cde1bd21dac8e0bb4f..c9185389b4c7f92fcf16a76b79576676442eb46f 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
@@ -628,7 +628,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) |