Index: mojo/edk/embedder/simple_platform_shared_buffer_posix.cc |
diff --git a/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc b/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc |
index 675977455f67474f06ce47a7b45a7a8bded077e0..c3c11931c024c9ce1167c4c2b14d0405fb0e079b 100644 |
--- a/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc |
+++ b/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc |
@@ -10,8 +10,8 @@ |
#include <sys/stat.h> |
#include <sys/types.h> // For |off_t|. |
#include <unistd.h> |
- |
#include <limits> |
+#include <utility> |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
@@ -114,7 +114,7 @@ bool SimplePlatformSharedBuffer::InitFromPlatformHandle( |
// TODO(vtl): More checks? |
- handle_ = platform_handle.Pass(); |
+ handle_ = std::move(platform_handle); |
return true; |
} |