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

Unified Diff: sky/engine/core/animation/AnimationTimeline.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 | « no previous file | sky/engine/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/animation/AnimationTimeline.cpp
diff --git a/sky/engine/core/animation/AnimationTimeline.cpp b/sky/engine/core/animation/AnimationTimeline.cpp
index 6c8bbd90acb22ffc2f0a982d408298004541f6e6..5d32f61a82896a4175282d7b768b3143d05f75cd 100644
--- a/sky/engine/core/animation/AnimationTimeline.cpp
+++ b/sky/engine/core/animation/AnimationTimeline.cpp
@@ -156,7 +156,7 @@ void AnimationTimeline::AnimationTimelineTiming::cancelWake()
void AnimationTimeline::AnimationTimelineTiming::serviceOnNextFrame()
{
if (m_timeline->m_document)
- m_timeline->m_document->scheduleVisualUpdate();
+ m_timeline->m_document->page()->scheduleVisualUpdate();
}
double AnimationTimeline::currentTime(bool& isNull)
« no previous file with comments | « no previous file | sky/engine/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698