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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 12517003: cc: Chromify the Animation and LayerAnimationController classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
Index: cc/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index 876e91384e6740532e88262cb748965d4a35d4a1..2ea8a278f7eb52f9b19d627224d38ec9eb7e3e16 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -1500,7 +1500,7 @@ void LayerTreeHostImpl::animateLayers(base::TimeTicks monotonicTime, base::Time
AnimationRegistrar::AnimationControllerMap copy = m_animationRegistrar->active_animation_controllers();
for (AnimationRegistrar::AnimationControllerMap::iterator iter = copy.begin(); iter != copy.end(); ++iter)
- (*iter).second->animate(monotonicSeconds);
+ (*iter).second->Animate(monotonicSeconds);
m_client->setNeedsRedrawOnImplThread();
setBackgroundTickingEnabled(!m_visible && !m_animationRegistrar->active_animation_controllers().empty());
@@ -1515,7 +1515,7 @@ void LayerTreeHostImpl::updateAnimationState()
scoped_ptr<AnimationEventsVector> events(make_scoped_ptr(new AnimationEventsVector));
AnimationRegistrar::AnimationControllerMap copy = m_animationRegistrar->active_animation_controllers();
for (AnimationRegistrar::AnimationControllerMap::iterator iter = copy.begin(); iter != copy.end(); ++iter)
- (*iter).second->updateState(events.get());
+ (*iter).second->UpdateState(events.get());
if (!events->empty())
m_client->postAnimationEventsToMainThreadOnImplThread(events.Pass(), m_lastAnimationTime);

Powered by Google App Engine
This is Rietveld 408576698