Index: mojo/edk/system/platform_handle_dispatcher.h |
diff --git a/mojo/edk/system/platform_handle_dispatcher.h b/mojo/edk/system/platform_handle_dispatcher.h |
index 99ffcac7b06acb61faf3d75a39e9f8cfb128ad36..e2b4bb882bc1b84f6c31c8cb50c24ad6750d3a56 100644 |
--- a/mojo/edk/system/platform_handle_dispatcher.h |
+++ b/mojo/edk/system/platform_handle_dispatcher.h |
@@ -5,6 +5,8 @@ |
#ifndef MOJO_EDK_SYSTEM_PLATFORM_HANDLE_DISPATCHER_H_ |
#define MOJO_EDK_SYSTEM_PLATFORM_HANDLE_DISPATCHER_H_ |
+#include <utility> |
+ |
#include "mojo/edk/embedder/scoped_platform_handle.h" |
#include "mojo/edk/system/simple_dispatcher.h" |
#include "mojo/edk/system/system_impl_export.h" |
@@ -21,7 +23,7 @@ class MOJO_SYSTEM_IMPL_EXPORT PlatformHandleDispatcher final |
static scoped_refptr<PlatformHandleDispatcher> Create( |
ScopedPlatformHandle platform_handle) { |
return make_scoped_refptr( |
- new PlatformHandleDispatcher(platform_handle.Pass())); |
+ new PlatformHandleDispatcher(std::move(platform_handle))); |
} |
ScopedPlatformHandle PassPlatformHandle(); |