Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
index b0b3a125e7762ac06e6b80bcdea6b790e6b41df5..b91b8355f1659ed9f294364eaf4e122ac4805580 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp |
@@ -612,7 +612,7 @@ Length StyleBuilderConverter::convertLineHeight(StyleResolverState& state, const |
return Length(primitiveValue.getDoubleValue() * 100.0, Percent); |
if (primitiveValue.isCalculated()) { |
Length zoomedLength = Length(primitiveValue.cssCalcValue()->toCalcValue(lineHeightToLengthConversionData(state))); |
- return Length(valueForLength(zoomedLength, state.style()->computedFontSize()), Fixed); |
+ return Length(valueForLength(zoomedLength, LayoutUnit(state.style()->computedFontSize())), Fixed); |
} |
ASSERT(primitiveValue.getValueID() == CSSValueNormal); |