Index: webkit/renderer/compositor_bindings/web_layer_impl.cc |
diff --git a/webkit/renderer/compositor_bindings/web_layer_impl.cc b/webkit/renderer/compositor_bindings/web_layer_impl.cc |
index f2a3cdea2b6339c2303f4c7ba8dac5af8453b782..6e6165fab106d77a21b3820b33a6eb1402dc9e4e 100644 |
--- a/webkit/renderer/compositor_bindings/web_layer_impl.cc |
+++ b/webkit/renderer/compositor_bindings/web_layer_impl.cc |
@@ -196,7 +196,7 @@ void WebLayerImpl::setAnimationDelegate( |
bool WebLayerImpl::addAnimation(WebKit::WebAnimation* animation) { |
return layer_->AddAnimation( |
- static_cast<WebAnimationImpl*>(animation)->CloneToAnimation()); |
+ static_cast<WebAnimationImpl*>(animation)->PassAnimation()); |
} |
void WebLayerImpl::removeAnimation(int animation_id) { |