| Index: sky/engine/core/animation/PendingAnimations.cpp
|
| diff --git a/sky/engine/core/animation/PendingAnimations.cpp b/sky/engine/core/animation/PendingAnimations.cpp
|
| index 75879065a74a12664550cefdd611c342f2e66f97..7025e63114f70595df1d055954b57e32b2de57cb 100644
|
| --- a/sky/engine/core/animation/PendingAnimations.cpp
|
| +++ b/sky/engine/core/animation/PendingAnimations.cpp
|
| @@ -46,8 +46,7 @@ void PendingAnimations::add(AnimationPlayer* player)
|
| m_pending.append(player);
|
|
|
| Document* document = player->timeline()->document();
|
| - if (document->view())
|
| - document->view()->scheduleAnimation();
|
| + document->scheduleVisualUpdate();
|
|
|
| bool visible = document->page() && document->page()->visibilityState() == PageVisibilityStateVisible;
|
| if (!visible && !m_timer.isActive()) {
|
|
|