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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp

Issue 2768453003: Put SVGResourceContainer subtypes into their own property trees. (Closed)
Patch Set: none Created 3 years, 9 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
Index: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
index 256b397caaf59cb537cd978413d18291e05fb323..e786211bc8f7fb43b959dd131c6b0df3d676c34a 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
@@ -492,6 +492,10 @@ void ObjectPaintInvalidatorWithContext::invalidatePaintRectangleWithContext(
if (rect.isEmpty())
return;
+ if (m_context.forcedSubtreeInvalidationFlags &
+ PaintInvalidatorContext::ForcedSubtreeNoRasterInvalidation)
+ return;
+
// If the parent has fully invalidated and its visual rect covers this object
// on the same backing, skip the invalidation.
if (parentFullyInvalidatedOnSameBacking() &&

Powered by Google App Engine
This is Rietveld 408576698