Index: third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
index f6da1bc6dc0161c5e9b47fcef3d879af9bf922b4..1f1be3863911238d9340fbb289e22b3cfab9f0a9 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
@@ -51,7 +51,7 @@ |
void SVGImagePainter::paintForeground(const PaintInfo& paintInfo) |
{ |
- RefPtr<Image> image = m_layoutSVGImage.imageResource()->image(); |
+ RefPtr<Image> image = m_layoutSVGImage.imageResource()->image(IntSize()); |
FloatRect destRect = m_layoutSVGImage.objectBoundingBox(); |
FloatRect srcRect(0, 0, image->width(), image->height()); |