Index: Source/core/rendering/svg/RenderSVGModelObject.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGModelObject.cpp b/Source/core/rendering/svg/RenderSVGModelObject.cpp |
index 2cdd2d5e6e8663080710dfc4b367edc3cc2cc9a4..cad6a6b303110cff6539eb8df398185d5b66dee3 100644 |
--- a/Source/core/rendering/svg/RenderSVGModelObject.cpp |
+++ b/Source/core/rendering/svg/RenderSVGModelObject.cpp |
@@ -130,9 +130,14 @@ void RenderSVGModelObject::invalidateTreeIfNeeded(const PaintInvalidationState& |
// FIXME: Should share code with RenderBox::invalidateTreeIfNeeded(). |
ASSERT(!needsLayout()); |
- if (!shouldCheckForPaintInvalidation()) |
+ if (!shouldCheckForSelfOrChildPaintInvalidation()) |
return; |
+ if (!shouldCheckForPaintInvalidation()) { |
+ RenderObject::invalidateTreeIfNeeded(paintInvalidationState); |
+ return; |
+ } |
+ |
ForceHorriblySlowRectMapping slowRectMapping(&paintInvalidationState); |
const LayoutRect oldPaintInvalidationRect = previousPaintInvalidationRect(); |