Index: mojo/public/cpp/bindings/lib/router.cc |
diff --git a/mojo/public/cpp/bindings/lib/router.cc b/mojo/public/cpp/bindings/lib/router.cc |
index fbc88be883fc0feea87f8349ac6e2a7fd6954363..aa9cddfc65d4f8b8df39bec1c08d9c638d2c7188 100644 |
--- a/mojo/public/cpp/bindings/lib/router.cc |
+++ b/mojo/public/cpp/bindings/lib/router.cc |
@@ -5,6 +5,7 @@ |
#include "mojo/public/cpp/bindings/lib/router.h" |
#include <stdint.h> |
+#include <utility> |
#include "mojo/public/cpp/environment/logging.h" |
@@ -79,8 +80,10 @@ Router::Router(ScopedMessagePipeHandle message_pipe, |
FilterChain filters, |
const MojoAsyncWaiter* waiter) |
: thunk_(this), |
- filters_(filters.Pass()), |
- connector_(message_pipe.Pass(), Connector::SINGLE_THREADED_SEND, waiter), |
+ filters_(std::move(filters)), |
+ connector_(std::move(message_pipe), |
+ Connector::SINGLE_THREADED_SEND, |
+ waiter), |
weak_self_(this), |
incoming_receiver_(nullptr), |
next_request_id_(0), |