| Index: third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h
|
| diff --git a/third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h b/third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h
|
| index 3e6d4f254035d5ffcc4b943b5c815d90efa20a46..49fda030d01f11fd8081764a702558d54667c77e 100644
|
| --- a/third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h
|
| +++ b/third_party/mojo/src/mojo/edk/system/shared_buffer_dispatcher.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_
|
| #define THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_
|
|
|
| +#include <utility>
|
| +
|
| #include "mojo/public/cpp/system/macros.h"
|
| #include "third_party/mojo/src/mojo/edk/embedder/platform_shared_buffer.h"
|
| #include "third_party/mojo/src/mojo/edk/system/memory.h"
|
| @@ -63,7 +65,8 @@ class MOJO_SYSTEM_IMPL_EXPORT SharedBufferDispatcher final
|
| private:
|
| static scoped_refptr<SharedBufferDispatcher> CreateInternal(
|
| scoped_refptr<embedder::PlatformSharedBuffer> shared_buffer) {
|
| - return make_scoped_refptr(new SharedBufferDispatcher(shared_buffer.Pass()));
|
| + return make_scoped_refptr(
|
| + new SharedBufferDispatcher(std::move(shared_buffer)));
|
| }
|
|
|
| explicit SharedBufferDispatcher(
|
|
|