Index: mojo/edk/embedder/simple_platform_support.cc |
diff --git a/mojo/edk/embedder/simple_platform_support.cc b/mojo/edk/embedder/simple_platform_support.cc |
index 814cd68896a82772f2ab2f495886d6b5fb82ccd2..c17a7c8878e4508d5bdd41e175304cd991ab6914 100644 |
--- a/mojo/edk/embedder/simple_platform_support.cc |
+++ b/mojo/edk/embedder/simple_platform_support.cc |
@@ -4,6 +4,8 @@ |
#include "mojo/edk/embedder/simple_platform_support.h" |
+#include <utility> |
+ |
#include "base/rand_util.h" |
#include "mojo/edk/embedder/simple_platform_shared_buffer.h" |
@@ -24,7 +26,7 @@ PlatformSharedBuffer* SimplePlatformSupport::CreateSharedBufferFromHandle( |
size_t num_bytes, |
ScopedPlatformHandle platform_handle) { |
return SimplePlatformSharedBuffer::CreateFromPlatformHandle( |
- num_bytes, platform_handle.Pass()); |
+ num_bytes, std::move(platform_handle)); |
} |
} // namespace edk |