| Index: third_party/WebKit/Source/core/page/PageAnimator.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/PageAnimator.cpp b/third_party/WebKit/Source/core/page/PageAnimator.cpp
|
| index 03c746d49b4abbedd4049413e4739e492fcfe58d..d0b8591a17c1da4d1ddfc5fb1eb13ec96f381067 100644
|
| --- a/third_party/WebKit/Source/core/page/PageAnimator.cpp
|
| +++ b/third_party/WebKit/Source/core/page/PageAnimator.cpp
|
| @@ -36,6 +36,7 @@ void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime)
|
| {
|
| RefPtrWillBeRawPtr<PageAnimator> protector(this);
|
| TemporaryChange<bool> servicing(m_servicingAnimations, true);
|
| + clock().updateTime(monotonicAnimationStartTime);
|
|
|
| WillBeHeapVector<RefPtrWillBeMember<Document>> documents;
|
| for (Frame* frame = m_page->mainFrame(); frame; frame = frame->tree().traverseNext()) {
|
| @@ -44,7 +45,7 @@ void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime)
|
| }
|
|
|
| for (auto& document : documents) {
|
| - DocumentAnimations::updateAnimationTimingForAnimationFrame(*document, monotonicAnimationStartTime);
|
| + DocumentAnimations::updateAnimationTimingForAnimationFrame(*document);
|
| if (document->view()) {
|
| if (document->view()->shouldThrottleRendering())
|
| continue;
|
|
|