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

Unified Diff: third_party/WebKit/Source/core/animation/DocumentAnimations.cpp

Issue 2724083002: [SPv2] Decomposite otherwise-compositable animations that paint nothing. (Closed)
Patch Set: Progress. 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/animation/DocumentAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp b/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp
index 806b319ef9dfe6410d657e6e6051e18c27d0295e..0fa700df2445855b2f787a338a3892fd475b5f6b 100644
--- a/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp
@@ -67,10 +67,12 @@ void DocumentAnimations::updateAnimationTimingIfNeeded(Document& document) {
void DocumentAnimations::updateAnimations(
Document& document,
- DocumentLifecycle::LifecycleState requiredLifecycleState) {
+ DocumentLifecycle::LifecycleState requiredLifecycleState,
+ Optional<CompositorElementIdSet>& compositedAnimationElementIds) {
DCHECK(document.lifecycle().state() >= requiredLifecycleState);
- if (document.compositorPendingAnimations().update()) {
+ if (document.compositorPendingAnimations().update(
+ compositedAnimationElementIds)) {
DCHECK(document.view());
document.view()->scheduleAnimation();
}

Powered by Google App Engine
This is Rietveld 408576698