Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index 102a1a8e04612dee32a524c83016c477295d5666..7abce5d6c0a698e7259e374ee05f65ce5784835e 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -262,15 +262,8 @@ public: |
void assertSubtreeClearedPaintInvalidationState() const |
{ |
- for (const RenderObject* renderer = this; renderer; renderer = renderer->nextInPreOrder()) { |
+ for (const RenderObject* renderer = this; renderer; renderer = renderer->nextInPreOrder()) |
renderer->assertRendererClearedPaintInvalidationState(); |
- |
- // Currently we skip some SVG containers for performance (see RenderSVGModelObject::invalidateTreeAfterLayout) |
- // so we just skip the underlying subtree. This is not strictly the condition in the previous function but |
- // it makes little sense to cover SVG subtrees if we know they are skipped anyway. |
- if (renderer->isSVGContainer()) |
- return; |
- } |
} |
#endif |