| Index: webkit/renderer/compositor_bindings/web_animation_impl.cc
|
| diff --git a/webkit/renderer/compositor_bindings/web_animation_impl.cc b/webkit/renderer/compositor_bindings/web_animation_impl.cc
|
| index 9671f914972c5a318dc8ed87bac3354a70918c26..06a1468c2152a86d3ad93ab9a11cbce3a35719a5 100644
|
| --- a/webkit/renderer/compositor_bindings/web_animation_impl.cc
|
| +++ b/webkit/renderer/compositor_bindings/web_animation_impl.cc
|
| @@ -96,11 +96,9 @@ void WebAnimationImpl::setAlternatesDirection(bool alternates) {
|
| animation_->set_alternates_direction(alternates);
|
| }
|
|
|
| -scoped_ptr<cc::Animation> WebAnimationImpl::CloneToAnimation() {
|
| - scoped_ptr<cc::Animation> to_return(
|
| - animation_->Clone(cc::Animation::NonControllingInstance));
|
| - to_return->set_needs_synchronized_start_time(true);
|
| - return to_return.Pass();
|
| +scoped_ptr<cc::Animation> WebAnimationImpl::PassAnimation() {
|
| + animation_->set_needs_synchronized_start_time(true);
|
| + return animation_.Pass();
|
| }
|
|
|
| #define COMPILE_ASSERT_MATCHING_ENUMS(webkit_name, cc_name) \
|
|
|