Index: Source/WebCore/css/CSSPrimitiveValue.cpp |
=================================================================== |
--- Source/WebCore/css/CSSPrimitiveValue.cpp (revision 115918) |
+++ Source/WebCore/css/CSSPrimitiveValue.cpp (working copy) |
@@ -431,7 +431,7 @@ |
template<> Length CSSPrimitiveValue::computeLength(RenderStyle* style, RenderStyle* rootStyle, float multiplier, bool computingFontSize) |
{ |
- return Length(roundForImpreciseConversion<float>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize)), Fixed); |
+ return Length(roundForImpreciseConversion<int>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize)), Fixed); |
} |
template<> short CSSPrimitiveValue::computeLength(RenderStyle* style, RenderStyle* rootStyle, float multiplier, bool computingFontSize) |