Index: Source/core/paint/SVGImagePainter.cpp |
diff --git a/Source/core/paint/SVGImagePainter.cpp b/Source/core/paint/SVGImagePainter.cpp |
index 4601ae3a55bc4d0e730b9d680cbafc472da66642..9bfeb7c944298afc9c27888af482980884739c36 100644 |
--- a/Source/core/paint/SVGImagePainter.cpp |
+++ b/Source/core/paint/SVGImagePainter.cpp |
@@ -59,8 +59,7 @@ void SVGImagePainter::paint(const PaintInfo& paintInfo) |
PaintInfo outlinePaintInfo(paintInfoBeforeFiltering); |
outlinePaintInfo.phase = PaintPhaseSelfOutline; |
LayoutRect layoutBoundingBox(boundingBox); |
- LayoutRect visualOverflowRect = ObjectPainter::outlineBounds(layoutBoundingBox, m_layoutSVGImage.styleRef()); |
- ObjectPainter(m_layoutSVGImage).paintOutline(outlinePaintInfo, layoutBoundingBox, visualOverflowRect); |
+ ObjectPainter(m_layoutSVGImage).paintOutline(outlinePaintInfo, m_layoutSVGImage.outlineVisualOverflowRect(), layoutBoundingBox.size(), layoutBoundingBox.location()); |
} |
} |