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

Unified Diff: sky/engine/core/animation/AnimationTimeline.cpp

Issue 875283003: Make all callers of scheduleAnimation() use scheduleVisualUpdate(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/animation/DocumentAnimations.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 1e263acd92a2a8bf87e331aecee12936160290e4..6c8bbd90acb22ffc2f0a982d408298004541f6e6 100644
--- a/sky/engine/core/animation/AnimationTimeline.cpp
+++ b/sky/engine/core/animation/AnimationTimeline.cpp
@@ -155,8 +155,8 @@ void AnimationTimeline::AnimationTimelineTiming::cancelWake()
void AnimationTimeline::AnimationTimelineTiming::serviceOnNextFrame()
{
- if (m_timeline->m_document && m_timeline->m_document->view())
- m_timeline->m_document->view()->scheduleAnimation();
+ if (m_timeline->m_document)
+ m_timeline->m_document->scheduleVisualUpdate();
}
double AnimationTimeline::currentTime(bool& isNull)
« no previous file with comments | « no previous file | sky/engine/core/animation/DocumentAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698