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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h

Issue 2652273004: Paint invisible layer content in presence of composited animations. (Closed)
Patch Set: Add tests and sync to head. Created 3 years, 11 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/platform/graphics/paint/EffectPaintPropertyNode.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h b/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h
index b9c9d19ea27cab601ae6129e03a6244b1f7d2aa0..f62059d9c86543e272251ff9b947186b3d8adfc6 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h
@@ -113,6 +113,10 @@ class PLATFORM_EXPORT EffectPaintPropertyNode
return m_directCompositingReasons != CompositingReasonNone;
}
+ bool requiresCompositingForAnimation() const {
+ return m_directCompositingReasons & CompositingReasonActiveAnimation;
+ }
+
const CompositorElementId& compositorElementId() const {
return m_compositorElementId;
}

Powered by Google App Engine
This is Rietveld 408576698