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

Unified Diff: ui/events/gestures/blink/web_gesture_curve_impl.cc

Issue 1557553002: Global conversion of Pass()→std::move() on OS=android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: ui/events/gestures/blink/web_gesture_curve_impl.cc
diff --git a/ui/events/gestures/blink/web_gesture_curve_impl.cc b/ui/events/gestures/blink/web_gesture_curve_impl.cc
index 8288e5de7b4c00748aeeb88a58c91b3e01121c04..908a544d67526ffe28f9a856dd9ee7847ca32af9 100644
--- a/ui/events/gestures/blink/web_gesture_curve_impl.cc
+++ b/ui/events/gestures/blink/web_gesture_curve_impl.cc
@@ -40,7 +40,7 @@ scoped_ptr<GestureCurve> CreateDefaultPlatformCurve(
INT_MIN,
INT_MAX,
base::TimeTicks());
- return scroller.Pass();
+ return std::move(scroller);
#else
return make_scoped_ptr(
new FlingCurve(initial_velocity, base::TimeTicks()));
« no previous file with comments | « third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc ('k') | ui/snapshot/snapshot_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698