Index: Source/core/layout/svg/LayoutSVGBlock.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGBlock.cpp b/Source/core/layout/svg/LayoutSVGBlock.cpp |
index 43f43cc9c0b7057502f5ddfde8944fa985cccfc2..9ad5523634485737a4f94efd8becefa9e1c9868d 100644 |
--- a/Source/core/layout/svg/LayoutSVGBlock.cpp |
+++ b/Source/core/layout/svg/LayoutSVGBlock.cpp |
@@ -104,14 +104,13 @@ const LayoutObject* LayoutSVGBlock::pushMappingToContainer(const LayoutBoxModelO |
LayoutRect LayoutSVGBlock::clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const |
{ |
- return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(this, paintInvalidationContainer, paintInvalidationState); |
+ return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this, paintInvalidationContainer, paintInvalidationState); |
} |
void LayoutSVGBlock::mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInvalidationContainer, LayoutRect& rect, const PaintInvalidationState* paintInvalidationState) const |
{ |
FloatRect paintInvalidationRect = rect; |
- paintInvalidationRect.inflate(style()->outlineWidth()); |
- const LayoutSVGRoot& svgRoot = SVGLayoutSupport::mapRectToSVGRootForPaintInvalidation(this, paintInvalidationRect, rect); |
+ const LayoutSVGRoot& svgRoot = SVGLayoutSupport::mapRectToSVGRootForPaintInvalidation(*this, paintInvalidationRect, rect); |
svgRoot.mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, paintInvalidationState); |
} |