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

Unified Diff: cc/animation_registrar.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
« no previous file with comments | « cc/animation_events.h ('k') | cc/animation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation_registrar.cc
diff --git a/cc/animation_registrar.cc b/cc/animation_registrar.cc
index 13b6a2150646f1bf8be006683108a68f559807f2..6b6629e8b3d8bff027f927d1dea3a8bec9730ec5 100644
--- a/cc/animation_registrar.cc
+++ b/cc/animation_registrar.cc
@@ -13,7 +13,7 @@ AnimationRegistrar::~AnimationRegistrar()
{
AnimationControllerMap copy = all_animation_controllers_;
for (AnimationControllerMap::iterator iter = copy.begin(); iter != copy.end(); ++iter)
- (*iter).second->setAnimationRegistrar(NULL);
+ (*iter).second->SetAnimationRegistrar(NULL);
}
scoped_refptr<LayerAnimationController>
@@ -21,8 +21,8 @@ AnimationRegistrar::GetAnimationControllerForId(int id)
{
scoped_refptr<LayerAnimationController> toReturn;
if (!ContainsKey(all_animation_controllers_, id)) {
- toReturn = LayerAnimationController::create(id);
- toReturn->setAnimationRegistrar(this);
+ toReturn = LayerAnimationController::Create(id);
+ toReturn->SetAnimationRegistrar(this);
all_animation_controllers_[id] = toReturn.get();
} else
toReturn = all_animation_controllers_[id];
« no previous file with comments | « cc/animation_events.h ('k') | cc/animation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698