Index: third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc |
diff --git a/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc b/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc |
index 34d11c5287df24c3ffcdb186cf8e94e7a66ca283..8eb8fb1ce0c71bb43ec61b81f1502baf83cbc88b 100644 |
--- a/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc |
+++ b/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc |
@@ -7,8 +7,8 @@ |
#include <stdint.h> |
#include <sys/mman.h> // For |PROT_...|. |
#include <sys/types.h> // For |off_t|. |
- |
#include <limits> |
+#include <utility> |
#include "base/files/scoped_file.h" |
#include "base/logging.h" |
@@ -64,7 +64,7 @@ bool SimplePlatformSharedBuffer::InitFromPlatformHandle( |
return false; |
} |
- handle_ = platform_handle.Pass(); |
+ handle_ = std::move(platform_handle); |
return true; |
} |