Index: ui/compositor/scoped_layer_animation_settings.cc |
diff --git a/ui/compositor/scoped_layer_animation_settings.cc b/ui/compositor/scoped_layer_animation_settings.cc |
index 7a593ca2601f407d51b9e86ae93efa6ff7e07a30..9316a4a7fd66e4b4b15235ec703c0cb68e7319f0 100644 |
--- a/ui/compositor/scoped_layer_animation_settings.cc |
+++ b/ui/compositor/scoped_layer_animation_settings.cc |
@@ -67,7 +67,7 @@ class InvertingObserver : public ImplicitAnimationObserver { |
scoped_ptr<LayerAnimationElement> to_return( |
LayerAnimationElement::CreateInverseTransformElement(base, element)); |
- return to_return.Pass(); |
+ return to_return; |
} |
Layer* base_layer_; |