| Index: third_party/mojo/src/mojo/edk/system/local_message_pipe_endpoint.cc
|
| diff --git a/third_party/mojo/src/mojo/edk/system/local_message_pipe_endpoint.cc b/third_party/mojo/src/mojo/edk/system/local_message_pipe_endpoint.cc
|
| index ea2a6cf609d2604bc59c567d39bb680cfbf03f99..c9614bcbb162a6b25746ef3d7f4c22336b6384a8 100644
|
| --- a/third_party/mojo/src/mojo/edk/system/local_message_pipe_endpoint.cc
|
| +++ b/third_party/mojo/src/mojo/edk/system/local_message_pipe_endpoint.cc
|
| @@ -5,6 +5,7 @@
|
| #include "third_party/mojo/src/mojo/edk/system/local_message_pipe_endpoint.h"
|
|
|
| #include <string.h>
|
| +#include <utility>
|
|
|
| #include "base/logging.h"
|
| #include "third_party/mojo/src/mojo/edk/system/dispatcher.h"
|
| @@ -49,7 +50,7 @@ void LocalMessagePipeEndpoint::EnqueueMessage(
|
| DCHECK(is_peer_open_);
|
|
|
| bool was_empty = message_queue_.IsEmpty();
|
| - message_queue_.AddMessage(message.Pass());
|
| + message_queue_.AddMessage(std::move(message));
|
| if (was_empty)
|
| awakable_list_.AwakeForStateChange(GetHandleSignalsState());
|
| }
|
|
|