Index: third_party/WebKit/Source/core/style/StyleImage.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleImage.cpp b/third_party/WebKit/Source/core/style/StyleImage.cpp |
index b56d90dd4e7f7f313c6ea71a5ecf8396d637c4bd..d1bb2651f632576527e1bc604548b8a596f2bda9 100644 |
--- a/third_party/WebKit/Source/core/style/StyleImage.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleImage.cpp |
@@ -31,7 +31,8 @@ LayoutSize StyleImage::imageSizeForSVGImage(SVGImage* svgImage, float multiplier |
{ |
FloatSize unzoomedDefaultObjectSize(defaultObjectSize); |
unzoomedDefaultObjectSize.scale(1 / multiplier); |
- return applyZoom(LayoutSize(svgImage->concreteObjectSize(svgImage->concreteObjectSize(unzoomedDefaultObjectSize))), multiplier); |
+ LayoutSize imageSize(roundedIntSize(svgImage->concreteObjectSize(unzoomedDefaultObjectSize))); |
+ return applyZoom(imageSize, multiplier); |
} |
} // namespace blink |