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

Unified Diff: sky/engine/core/dom/ScriptedAnimationController.cpp

Issue 880013003: spinning-square.sky doesn't spin (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix animations too Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/animation/AnimationTimeline.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
}
« no previous file with comments | « sky/engine/core/animation/AnimationTimeline.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698