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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInvalidator.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/PaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
index da03ef9850b468327fa883f1d23c16687a55d6e1..eeedfe7e0d7d5aceab040af5ea114e5c1f5e344b 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -461,6 +461,11 @@ void PaintInvalidator::invalidatePaintIfNeeded(
return;
}
+ if (object.isSVGHiddenContainer()) {
+ context.forcedSubtreeInvalidationFlags |=
+ PaintInvalidatorContext::ForcedSubtreeNoRasterInvalidation;
+ }
+
PaintInvalidationReason reason = object.invalidatePaintIfNeeded(context);
switch (reason) {
case PaintInvalidationDelayedFull:

Powered by Google App Engine
This is Rietveld 408576698