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