Index: mojo/edk/embedder/platform_channel_pair.cc |
diff --git a/mojo/edk/embedder/platform_channel_pair.cc b/mojo/edk/embedder/platform_channel_pair.cc |
index b083df67bedf51c7f862b198019b2a4c6ec140ac..ee1905abee8f636c4ba02942f9c3faffcd571e32 100644 |
--- a/mojo/edk/embedder/platform_channel_pair.cc |
+++ b/mojo/edk/embedder/platform_channel_pair.cc |
@@ -4,6 +4,8 @@ |
#include "mojo/edk/embedder/platform_channel_pair.h" |
+#include <utility> |
+ |
#include "base/logging.h" |
namespace mojo { |
@@ -16,11 +18,11 @@ PlatformChannelPair::~PlatformChannelPair() { |
} |
ScopedPlatformHandle PlatformChannelPair::PassServerHandle() { |
- return server_handle_.Pass(); |
+ return std::move(server_handle_); |
} |
ScopedPlatformHandle PlatformChannelPair::PassClientHandle() { |
- return client_handle_.Pass(); |
+ return std::move(client_handle_); |
} |
void PlatformChannelPair::ChildProcessLaunched() { |