Index: third_party/WebKit/Source/core/layout/LayoutSlider.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutSlider.cpp b/third_party/WebKit/Source/core/layout/LayoutSlider.cpp |
index b6d305f479729b991885a282a55b0a0b6df37bf1..de888c90a4d56e5311ff922d922cff0891988ba1 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutSlider.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutSlider.cpp |
@@ -54,7 +54,7 @@ int LayoutSlider::baselinePosition(FontBaseline, bool /*firstLine*/, LineDirecti |
void LayoutSlider::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const |
{ |
- maxLogicalWidth = defaultTrackLength * style()->effectiveZoom(); |
+ maxLogicalWidth = LayoutUnit(defaultTrackLength * style()->effectiveZoom()); |
if (!style()->width().hasPercent()) |
minLogicalWidth = maxLogicalWidth; |
} |