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

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

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/core/paint/PaintPropertyTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
index 926cb5a058d6acb868842b206556c9b4e144ead3..716a2d053214c468c8e66355cbb0d093a2a9fd76 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
@@ -509,10 +509,11 @@ void PaintPropertyTreeBuilder::updateEffect(
// We should generate a special clip node to represent this expansion.
}
- CompositingReasons compositingReasons =
- CompositingReasonFinder::requiresCompositingForEffectAnimation(style);
- if (compositingReasons != CompositingReasonNone)
+ CompositingReasons compositingReasons = CompositingReasonNone;
+ if (CompositingReasonFinder::requiresCompositingForEffectAnimation(style)) {
+ compositingReasons = CompositingReasonActiveAnimation;
effectNodeNeeded = true;
+ }
CompositorElementId compositorElementId =
(style.hasCurrentOpacityAnimation() ||

Powered by Google App Engine
This is Rietveld 408576698