Index: Source/core/paint/SVGContainerPainter.cpp |
diff --git a/Source/core/paint/SVGContainerPainter.cpp b/Source/core/paint/SVGContainerPainter.cpp |
index a834804957c93eb4d6b050f010f74eb5b8fd6605..b3430c6f00158b7ad8e6b1a79d1b8929dfd51188 100644 |
--- a/Source/core/paint/SVGContainerPainter.cpp |
+++ b/Source/core/paint/SVGContainerPainter.cpp |
@@ -60,7 +60,8 @@ void SVGContainerPainter::paint(const PaintInfo& paintInfo) |
if (m_layoutSVGContainer.style()->outlineWidth() && m_layoutSVGContainer.style()->visibility() == VISIBLE) { |
LayoutRect layoutBoundingBox(boundingBox); |
- ObjectPainter(m_layoutSVGContainer).paintOutline(paintInfoBeforeFiltering, layoutBoundingBox, layoutBoundingBox); |
+ LayoutRect visualOverflowRect = ObjectPainter::outlineBounds(layoutBoundingBox, m_layoutSVGContainer.styleRef()); |
+ ObjectPainter(m_layoutSVGContainer).paintOutline(paintInfoBeforeFiltering, layoutBoundingBox, visualOverflowRect); |
} |
if (paintInfoBeforeFiltering.context->printing()) |