| Index: ipc/mojo/ipc_mojo_message_helper.cc
|
| diff --git a/ipc/mojo/ipc_mojo_message_helper.cc b/ipc/mojo/ipc_mojo_message_helper.cc
|
| index 6f33f80f11b4e70834b913ccf9ae676a261f93fe..8b8344ec766c514d2a4a1c8bce92f5ca05739c66 100644
|
| --- a/ipc/mojo/ipc_mojo_message_helper.cc
|
| +++ b/ipc/mojo/ipc_mojo_message_helper.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "ipc/mojo/ipc_mojo_message_helper.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "ipc/mojo/ipc_mojo_handle_attachment.h"
|
|
|
| namespace IPC {
|
| @@ -13,7 +15,7 @@ bool MojoMessageHelper::WriteMessagePipeTo(
|
| Message* message,
|
| mojo::ScopedMessagePipeHandle handle) {
|
| message->WriteAttachment(new internal::MojoHandleAttachment(
|
| - mojo::ScopedHandle::From(handle.Pass())));
|
| + mojo::ScopedHandle::From(std::move(handle))));
|
| return true;
|
| }
|
|
|
|
|