Index: cc/trees/layer_tree_host_unittest_animation.cc |
diff --git a/cc/trees/layer_tree_host_unittest_animation.cc b/cc/trees/layer_tree_host_unittest_animation.cc |
index 37e19ade3d674d7806b12cca0f099417ed76349f..d7668c127c47d300bcefa1013b82ae709cd6dcd9 100644 |
--- a/cc/trees/layer_tree_host_unittest_animation.cc |
+++ b/cc/trees/layer_tree_host_unittest_animation.cc |
@@ -1044,8 +1044,8 @@ class LayerTreeHostAnimationTestScrollOffsetChangesArePropagated |
ScrollOffsetAnimationCurve::Create( |
gfx::Vector2dF(500.f, 550.f), |
EaseInOutTimingFunction::Create())); |
- scoped_ptr<Animation> animation(Animation::Create( |
- curve.PassAs<AnimationCurve>(), 1, 0, Animation::ScrollOffset)); |
+ scoped_ptr<Animation> animation( |
+ Animation::Create(curve.Pass(), 1, 0, Animation::ScrollOffset)); |
animation->set_needs_synchronized_start_time(true); |
bool animation_added = scroll_layer_->AddAnimation(animation.Pass()); |
bool impl_scrolling_supported = |