| Index: sky/engine/core/dom/ScriptedAnimationController.cpp
|
| diff --git a/sky/engine/core/dom/ScriptedAnimationController.cpp b/sky/engine/core/dom/ScriptedAnimationController.cpp
|
| index 7cda3dbf2a42876f20ee8e8ee9d17dca656ec882..8d7386786a36ac994afd8cb0627aa43d8b0cf5ba 100644
|
| --- a/sky/engine/core/dom/ScriptedAnimationController.cpp
|
| +++ b/sky/engine/core/dom/ScriptedAnimationController.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "sky/engine/core/frame/FrameView.h"
|
| #include "sky/engine/core/frame/LocalDOMWindow.h"
|
| #include "sky/engine/core/inspector/InspectorTraceEvents.h"
|
| +#include "sky/engine/core/page/Page.h"
|
| #include "sky/engine/platform/Logging.h"
|
|
|
| namespace blink {
|
| @@ -220,7 +221,7 @@ void ScriptedAnimationController::scheduleAnimationIfNeeded()
|
| return;
|
|
|
| // TODO(esprehn): This causes a full raster on every raf even if nothing changed.
|
| - m_document->scheduleVisualUpdate();
|
| + m_document->page()->scheduleVisualUpdate();
|
| }
|
|
|
| }
|
|
|