Index: third_party/mojo/src/mojo/edk/system/channel.cc |
diff --git a/third_party/mojo/src/mojo/edk/system/channel.cc b/third_party/mojo/src/mojo/edk/system/channel.cc |
index b0101b5c9e3279ec9417862aea15bd7896eca6bc..0b3e9f85d27f6dca01e17d1989e1308abbb3723d 100644 |
--- a/third_party/mojo/src/mojo/edk/system/channel.cc |
+++ b/third_party/mojo/src/mojo/edk/system/channel.cc |
@@ -5,6 +5,7 @@ |
#include "third_party/mojo/src/mojo/edk/system/channel.h" |
#include <algorithm> |
+#include <utility> |
#include "base/bind.h" |
#include "base/logging.h" |
@@ -126,7 +127,7 @@ void Channel::WillShutdownSoon() { |
void Channel::SetBootstrapEndpoint(scoped_refptr<ChannelEndpoint> endpoint) { |
// Used for both local and remote IDs. |
ChannelEndpointId bootstrap_id = ChannelEndpointId::GetBootstrap(); |
- SetBootstrapEndpointWithIds(endpoint.Pass(), bootstrap_id, bootstrap_id); |
+ SetBootstrapEndpointWithIds(std::move(endpoint), bootstrap_id, bootstrap_id); |
} |
void Channel::SetBootstrapEndpointWithIds( |