Index: mojo/platform_handle/platform_handle_functions.cc |
diff --git a/mojo/platform_handle/platform_handle_functions.cc b/mojo/platform_handle/platform_handle_functions.cc |
index 1359ddadde961989c144000b919dc304dc494d76..7b721b0824c621d90ad5f5d557938ef3a19993e3 100644 |
--- a/mojo/platform_handle/platform_handle_functions.cc |
+++ b/mojo/platform_handle/platform_handle_functions.cc |
@@ -4,6 +4,8 @@ |
#include "mojo/platform_handle/platform_handle_functions.h" |
+#include <utility> |
+ |
#include "third_party/mojo/src/mojo/edk/embedder/embedder.h" |
extern "C" { |
@@ -14,7 +16,7 @@ MojoResult MojoCreatePlatformHandleWrapper(MojoPlatformHandle platform_handle, |
mojo::embedder::ScopedPlatformHandle scoped_platform_handle( |
platform_handle_wrapper); |
return mojo::embedder::CreatePlatformHandleWrapper( |
- scoped_platform_handle.Pass(), wrapper); |
+ std::move(scoped_platform_handle), wrapper); |
} |
MojoResult MojoExtractPlatformHandle(MojoHandle wrapper, |