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

Unified Diff: content/common/input/input_event_ack.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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
« no previous file with comments | « content/common/host_shared_bitmap_manager.cc ('k') | content/common/input/input_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/input/input_event_ack.cc
diff --git a/content/common/input/input_event_ack.cc b/content/common/input/input_event_ack.cc
index 76ec577fb9990014e81459a45adf1ff929b54013..27e5aa2ecd69b2c0b7b59016df37c141f863f659 100644
--- a/content/common/input/input_event_ack.cc
+++ b/content/common/input/input_event_ack.cc
@@ -4,6 +4,8 @@
#include "content/common/input/input_event_ack.h"
+#include <utility>
+
namespace content {
InputEventAck::InputEventAck(
@@ -15,7 +17,7 @@ InputEventAck::InputEventAck(
: type(type),
state(state),
latency(latency),
- overscroll(overscroll.Pass()),
+ overscroll(std::move(overscroll)),
unique_touch_event_id(unique_touch_event_id) {}
InputEventAck::InputEventAck(blink::WebInputEvent::Type type,
« no previous file with comments | « content/common/host_shared_bitmap_manager.cc ('k') | content/common/input/input_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698