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

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

Issue 2724083002: [SPv2] Decomposite otherwise-compositable animations that paint nothing. (Closed)
Patch Set: Update expectations. Created 3 years, 8 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..dc7fce540b89d466c390f20a623c8052c3fe5f8c 100644
--- a/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/DocumentAnimations.cpp
@@ -67,10 +67,11 @@ void DocumentAnimations::updateAnimationTimingIfNeeded(Document& document) {
void DocumentAnimations::updateAnimations(
Document& document,
- DocumentLifecycle::LifecycleState requiredLifecycleState) {
+ DocumentLifecycle::LifecycleState requiredLifecycleState,
+ Optional<CompositorElementIdSet>& compositedElementIds) {
DCHECK(document.lifecycle().state() >= requiredLifecycleState);
- if (document.compositorPendingAnimations().update()) {
+ if (document.compositorPendingAnimations().update(compositedElementIds)) {
DCHECK(document.view());
document.view()->scheduleAnimation();
}

Powered by Google App Engine
This is Rietveld 408576698