Index: Source/WebCore/css/CSSComputedStyleDeclaration.cpp |
=================================================================== |
--- Source/WebCore/css/CSSComputedStyleDeclaration.cpp (revision 115918) |
+++ Source/WebCore/css/CSSComputedStyleDeclaration.cpp (working copy) |
@@ -520,9 +520,9 @@ |
return createBorderImageValue(imageValue, imageSlices, borderSlices, outset, repeat); |
} |
-inline static PassRefPtr<CSSPrimitiveValue> zoomAdjustedPixelValue(double value, const RenderStyle* style) |
+inline static PassRefPtr<CSSPrimitiveValue> zoomAdjustedPixelValue(int value, const RenderStyle* style) |
{ |
- return cssValuePool().createValue(adjustFloatForAbsoluteZoom(value, style), CSSPrimitiveValue::CSS_PX); |
+ return cssValuePool().createValue(adjustForAbsoluteZoom(value, style), CSSPrimitiveValue::CSS_PX); |
} |
inline static PassRefPtr<CSSPrimitiveValue> zoomAdjustedNumberValue(double value, const RenderStyle* style) |