Index: Source/core/rendering/svg/RenderSVGBlock.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGBlock.cpp b/Source/core/rendering/svg/RenderSVGBlock.cpp |
index 27527dc6d297aaa23b49ba51313385a2cb7f2335..380fa69a2a6d67c373b4ae7da857ae94b388f460 100644 |
--- a/Source/core/rendering/svg/RenderSVGBlock.cpp |
+++ b/Source/core/rendering/svg/RenderSVGBlock.cpp |
@@ -101,6 +101,14 @@ LayoutRect RenderSVGBlock::clippedOverflowRectForPaintInvalidation(const RenderL |
return SVGRenderSupport::clippedOverflowRectForPaintInvalidation(this, paintInvalidationContainer, paintInvalidationState); |
} |
+void RenderSVGBlock::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect, const PaintInvalidationState* paintInvalidationState) const |
+{ |
+ FloatRect paintInvalidationRect = rect; |
+ paintInvalidationRect.inflate(style()->outlineWidth()); |
+ computeFloatRectForPaintInvalidation(paintInvalidationContainer, paintInvalidationRect, paintInvalidationState); |
+ rect = enclosingLayoutRect(paintInvalidationRect); |
+} |
+ |
void RenderSVGBlock::computeFloatRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, FloatRect& paintInvalidationRect, const PaintInvalidationState* paintInvalidationState) const |
{ |
SVGRenderSupport::computeFloatRectForPaintInvalidation(this, paintInvalidationContainer, paintInvalidationRect, paintInvalidationState); |