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

Unified Diff: ui/compositor/layer_animation_element.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 | « ui/compositor/layer.cc ('k') | ui/compositor/layer_animation_sequence.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animation_element.cc
diff --git a/ui/compositor/layer_animation_element.cc b/ui/compositor/layer_animation_element.cc
index 79f4a7f0d49a7f2dc091931760be3de4c4f7276b..49525838fc094ce376eef26a7e3d818d6c534fcb 100644
--- a/ui/compositor/layer_animation_element.cc
+++ b/ui/compositor/layer_animation_element.cc
@@ -413,7 +413,7 @@ class ThreadedLayerAnimationElement : public LayerAnimationElement {
}
set_effective_start_time(base::TimeTicks());
scoped_ptr<cc::Animation> animation = CreateCCAnimation();
- animation->setNeedsSynchronizedStartTime(true);
+ animation->set_needs_synchronized_start_time(true);
delegate->AddThreadedAnimation(animation.Pass());
}
@@ -462,7 +462,7 @@ class ThreadedOpacityTransition : public ThreadedLayerAnimationElement {
target_,
duration()));
scoped_ptr<cc::Animation> animation(
- cc::Animation::create(animation_curve.Pass(),
+ cc::Animation::Create(animation_curve.Pass(),
animation_id(),
animation_group_id(),
cc::Animation::Opacity));
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/layer_animation_sequence.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698