Index: Source/core/paint/SVGShapePainter.cpp |
diff --git a/Source/core/paint/SVGShapePainter.cpp b/Source/core/paint/SVGShapePainter.cpp |
index 1b240fa4a7e3dbeb4683035aa35a6f7460946e97..e19ff8229dc7182ae0e5abac59c6ce759ae8a187 100644 |
--- a/Source/core/paint/SVGShapePainter.cpp |
+++ b/Source/core/paint/SVGShapePainter.cpp |
@@ -116,7 +116,8 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) |
PaintInfo outlinePaintInfo(paintInfoBeforeFiltering); |
outlinePaintInfo.phase = PaintPhaseSelfOutline; |
LayoutRect layoutObjectBounds(boundingBox); |
- ObjectPainter(m_layoutSVGShape).paintOutline(outlinePaintInfo, layoutObjectBounds, layoutObjectBounds); |
+ LayoutRect visualOverflowRect = ObjectPainter::outlineBounds(layoutObjectBounds, m_layoutSVGShape.styleRef()); |
+ ObjectPainter(m_layoutSVGShape).paintOutline(outlinePaintInfo, layoutObjectBounds, visualOverflowRect); |
} |
} |