Index: Source/core/paint/SVGShapePainter.cpp |
diff --git a/Source/core/paint/SVGShapePainter.cpp b/Source/core/paint/SVGShapePainter.cpp |
index 1af910d6fa589a437edb2b863050e6790045fe90..bcc8be1710adcda52641e3ef3025a1ff65bb980a 100644 |
--- a/Source/core/paint/SVGShapePainter.cpp |
+++ b/Source/core/paint/SVGShapePainter.cpp |
@@ -116,9 +116,9 @@ 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); |
+ LayoutRect visualOverflowRect = ObjectPainter::outlineRectForSVG(layoutBoundingBox.size(), m_layoutSVGShape.styleRef()); |
+ ObjectPainter(m_layoutSVGShape).paintOutline(outlinePaintInfo, visualOverflowRect, layoutBoundingBox.size(), layoutBoundingBox.location()); |
} |
} |