Index: services/view_manager/animation_runner_unittest.cc |
diff --git a/services/view_manager/animation_runner_unittest.cc b/services/view_manager/animation_runner_unittest.cc |
index 2654648a3b7f91adb6bcd734648649b43296538f..d93d3b81f101ff78daf48c67c7fed57313c974fa 100644 |
--- a/services/view_manager/animation_runner_unittest.cc |
+++ b/services/view_manager/animation_runner_unittest.cc |
@@ -68,14 +68,14 @@ class TestAnimationRunnerObserver : public AnimationRunnerObserver { |
AnimationValuePtr FloatAnimationValue(float float_value) { |
AnimationValuePtr value(AnimationValue::New()); |
value->float_value = float_value; |
- return value.Pass(); |
+ return value; |
} |
// Creates an AnimationValuePtr from the specified transform. |
AnimationValuePtr TransformAnimationValue(const gfx::Transform& transform) { |
AnimationValuePtr value(AnimationValue::New()); |
value->transform = Transform::From(transform); |
- return value.Pass(); |
+ return value; |
} |
// Adds an AnimationElement to |group|s last sequence with the specified value. |