Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: services/view_manager/animation_runner_unittest.cc

Issue 1408793006: Convert "return local_var.Pass();" to "return local_var;". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« no previous file with comments | « services/url_response_disk_cache/url_response_disk_cache_impl.cc ('k') | services/view_manager/gesture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698