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(); |
} |