diff options
Diffstat (limited to 'mojo/edk/system/platform_handle_dispatcher.h')
-rw-r--r-- | mojo/edk/system/platform_handle_dispatcher.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mojo/edk/system/platform_handle_dispatcher.h b/mojo/edk/system/platform_handle_dispatcher.h index 99ffcac..e2b4bb8 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(); |