Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(960)

Unified Diff: Source/core/rendering/RenderObject.h

Issue 412083003: Disable paint invalidatin optimization about SVG transform change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More rebaselines Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/svg/RenderSVGModelObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/svg/RenderSVGModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698