Index: Source/core/rendering/svg/SVGRenderSupport.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderSupport.cpp b/Source/core/rendering/svg/SVGRenderSupport.cpp |
index 6f7103f84309de0f7c6e8de99b2215518e8f3806..f0a9cee861f40d10acd9c1ed29debfaf0265d3b3 100644 |
--- a/Source/core/rendering/svg/SVGRenderSupport.cpp |
+++ b/Source/core/rendering/svg/SVGRenderSupport.cpp |
@@ -54,14 +54,14 @@ LayoutRect SVGRenderSupport::clippedOverflowRectForPaintInvalidation(const Rende |
// Pass our local paint rect to computeRectForPaintInvalidation() which will |
// map to parent coords and recurse up the parent chain. |
FloatRect paintInvalidationRect = object->paintInvalidationRectInLocalCoordinates(); |
+ paintInvalidationRect.inflate(object->style()->outlineWidth()); |
+ |
object->computeFloatRectForPaintInvalidation(paintInvalidationContainer, paintInvalidationRect, paintInvalidationState); |
return enclosingLayoutRect(paintInvalidationRect); |
} |
void SVGRenderSupport::computeFloatRectForPaintInvalidation(const RenderObject* object, const RenderLayerModelObject* paintInvalidationContainer, FloatRect& paintInvalidationRect, const PaintInvalidationState* paintInvalidationState) |
{ |
- paintInvalidationRect.inflate(object->style()->outlineWidth()); |
- |
// Translate to coords in our parent renderer, and then call computeFloatRectForPaintInvalidation() on our parent. |
paintInvalidationRect = object->localToParentTransform().mapRect(paintInvalidationRect); |
object->parent()->computeFloatRectForPaintInvalidation(paintInvalidationContainer, paintInvalidationRect, paintInvalidationState); |