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

Unified Diff: Source/core/rendering/svg/RenderSVGResourceContainer.cpp

Issue 478433002: Avoid RenderObject::paintInvalidationForWholeRenderer() if possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TestExpectations Created 6 years, 4 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 | « Source/core/rendering/svg/RenderSVGImage.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGResourceContainer.cpp
diff --git a/Source/core/rendering/svg/RenderSVGResourceContainer.cpp b/Source/core/rendering/svg/RenderSVGResourceContainer.cpp
index e833f4e31c66954efcfde48f97380285a1ae79fe..5d04e5ad174f1b939524a2825b4d3732c5be2187 100644
--- a/Source/core/rendering/svg/RenderSVGResourceContainer.cpp
+++ b/Source/core/rendering/svg/RenderSVGResourceContainer.cpp
@@ -147,12 +147,7 @@ void RenderSVGResourceContainer::markClientForInvalidation(RenderObject* client,
client->setNeedsBoundariesUpdate();
break;
case PaintInvalidation:
- if (client->view()) {
- if (frameView()->isInPerformLayout())
- client->setShouldDoFullPaintInvalidation(true);
- else
- client->paintInvalidationForWholeRenderer();
- }
+ client->setShouldDoFullPaintInvalidation(true);
break;
case ParentOnlyInvalidation:
break;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGImage.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698