Index: Source/core/paint/SVGShapePainter.cpp |
diff --git a/Source/core/paint/SVGShapePainter.cpp b/Source/core/paint/SVGShapePainter.cpp |
index b9b346d5f244ecc5d178afea6b64d5ce30ca63cb..35e74d208425784ff8a22ae73acf4ef64330363b 100644 |
--- a/Source/core/paint/SVGShapePainter.cpp |
+++ b/Source/core/paint/SVGShapePainter.cpp |
@@ -48,10 +48,6 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) |
|| m_renderSVGShape.isShapeEmpty()) |
return; |
- FloatRect boundingBox = m_renderSVGShape.paintInvalidationRectInLocalCoordinates(); |
- if (!SVGRenderSupport::paintInfoIntersectsPaintInvalidationRect(boundingBox, m_renderSVGShape.localTransform(), paintInfo)) |
- return; |
- |
PaintInfo childPaintInfo(paintInfo); |
GraphicsContextStateSaver stateSaver(*childPaintInfo.context); |
@@ -104,7 +100,7 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) |
} |
if (m_renderSVGShape.style()->outlineWidth()) |
- ObjectPainter(m_renderSVGShape).paintOutline(childPaintInfo, IntRect(boundingBox)); |
+ ObjectPainter(m_renderSVGShape).paintOutline(childPaintInfo, IntRect(m_renderSVGShape.paintInvalidationRectInLocalCoordinates())); |
} |
void SVGShapePainter::fillShape(GraphicsContext* context) |