Index: ipc/mojo/ipc_channel_mojo_unittest.cc |
diff --git a/ipc/mojo/ipc_channel_mojo_unittest.cc b/ipc/mojo/ipc_channel_mojo_unittest.cc |
index 37267eb6dd894dd58fbab00070921bbfd31c8538..b4f4154c67ce2b9509578f05816e13814abde69c 100644 |
--- a/ipc/mojo/ipc_channel_mojo_unittest.cc |
+++ b/ipc/mojo/ipc_channel_mojo_unittest.cc |
@@ -6,6 +6,7 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <utility> |
#include "base/base_paths.h" |
#include "base/files/file.h" |
@@ -316,8 +317,8 @@ class HandleSendingHelper { |
mojo::WriteMessageRaw(pipe->self.get(), &content[0], |
static_cast<uint32_t>(content.size()), |
nullptr, 0, 0)); |
- EXPECT_TRUE( |
- IPC::MojoMessageHelper::WriteMessagePipeTo(message, pipe->peer.Pass())); |
+ EXPECT_TRUE(IPC::MojoMessageHelper::WriteMessagePipeTo( |
+ message, std::move(pipe->peer))); |
} |
static void WritePipeThenSend(IPC::Sender* sender, TestingMessagePipe* pipe) { |