| Index: third_party/mojo/src/mojo/edk/system/message_pipe.cc
|
| diff --git a/third_party/mojo/src/mojo/edk/system/message_pipe.cc b/third_party/mojo/src/mojo/edk/system/message_pipe.cc
|
| index 21b1040ce40fefe47bee9d3549b98314ff903b13..19c13173a0495e2bc8361eb5ed010704782b8cc9 100644
|
| --- a/third_party/mojo/src/mojo/edk/system/message_pipe.cc
|
| +++ b/third_party/mojo/src/mojo/edk/system/message_pipe.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "third_party/mojo/src/mojo/edk/system/message_pipe.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "third_party/mojo/src/mojo/edk/system/channel.h"
|
| #include "third_party/mojo/src/mojo/edk/system/channel_endpoint.h"
|
| @@ -332,7 +334,7 @@ MojoResult MessagePipe::EnqueueMessageNoLock(
|
| }
|
|
|
| // The endpoint's |EnqueueMessage()| may not report failure.
|
| - endpoints_[port]->EnqueueMessage(message.Pass());
|
| + endpoints_[port]->EnqueueMessage(std::move(message));
|
| return MOJO_RESULT_OK;
|
| }
|
|
|
| @@ -376,7 +378,7 @@ MojoResult MessagePipe::AttachTransportsNoLock(
|
| dispatchers->push_back(nullptr);
|
| }
|
| }
|
| - message->SetDispatchers(dispatchers.Pass());
|
| + message->SetDispatchers(std::move(dispatchers));
|
| return MOJO_RESULT_OK;
|
| }
|
|
|
|
|