Index: mojo/edk/system/shared_buffer_dispatcher.h |
diff --git a/mojo/edk/system/shared_buffer_dispatcher.h b/mojo/edk/system/shared_buffer_dispatcher.h |
index f3fc9e80cb14e4dccbfa9f8c27fe6fd271bff420..9075560309394abc05d32d2969aca852fd418522 100644 |
--- a/mojo/edk/system/shared_buffer_dispatcher.h |
+++ b/mojo/edk/system/shared_buffer_dispatcher.h |
@@ -5,6 +5,8 @@ |
#ifndef MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
#define MOJO_EDK_SYSTEM_SHARED_BUFFER_DISPATCHER_H_ |
+#include <utility> |
+ |
#include "mojo/edk/embedder/platform_shared_buffer.h" |
#include "mojo/edk/system/simple_dispatcher.h" |
#include "mojo/edk/system/system_impl_export.h" |
@@ -58,7 +60,8 @@ class MOJO_SYSTEM_IMPL_EXPORT SharedBufferDispatcher final |
private: |
static scoped_refptr<SharedBufferDispatcher> CreateInternal( |
scoped_refptr<PlatformSharedBuffer> shared_buffer) { |
- return make_scoped_refptr(new SharedBufferDispatcher(shared_buffer.Pass())); |
+ return make_scoped_refptr( |
+ new SharedBufferDispatcher(std::move(shared_buffer))); |
} |
explicit SharedBufferDispatcher( |