Index: Source/core/paint/SVGShapePainter.cpp |
diff --git a/Source/core/paint/SVGShapePainter.cpp b/Source/core/paint/SVGShapePainter.cpp |
index 1af910d6fa589a437edb2b863050e6790045fe90..91a4b01796c1c9fc5cadb7014ae030b0a6ecea6a 100644 |
--- a/Source/core/paint/SVGShapePainter.cpp |
+++ b/Source/core/paint/SVGShapePainter.cpp |
@@ -116,9 +116,8 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) |
if (m_layoutSVGShape.style()->outlineWidth()) { |
PaintInfo outlinePaintInfo(paintInfoBeforeFiltering); |
outlinePaintInfo.phase = PaintPhaseSelfOutline; |
- LayoutRect layoutObjectBounds(boundingBox); |
- LayoutRect visualOverflowRect = ObjectPainter::outlineBounds(layoutObjectBounds, m_layoutSVGShape.styleRef()); |
- ObjectPainter(m_layoutSVGShape).paintOutline(outlinePaintInfo, layoutObjectBounds, visualOverflowRect); |
+ LayoutRect layoutBoundingBox(boundingBox); |
+ ObjectPainter(m_layoutSVGShape).paintOutline(outlinePaintInfo, m_layoutSVGShape.outlineVisualOverflowRect(), layoutBoundingBox.size(), layoutBoundingBox.location()); |
} |
} |