Index: mojo/edk/embedder/simple_platform_shared_buffer_android.cc |
diff --git a/mojo/edk/embedder/simple_platform_shared_buffer_android.cc b/mojo/edk/embedder/simple_platform_shared_buffer_android.cc |
index 710243479ddbd55397e087a032e9425f0c262dac..97ec976012d552b022a26a89abc7dca37f4d08f9 100644 |
--- a/mojo/edk/embedder/simple_platform_shared_buffer_android.cc |
+++ b/mojo/edk/embedder/simple_platform_shared_buffer_android.cc |
@@ -8,8 +8,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" |
@@ -65,7 +65,7 @@ bool SimplePlatformSharedBuffer::InitFromPlatformHandle( |
return false; |
} |
- handle_ = platform_handle.Pass(); |
+ handle_ = std::move(platform_handle); |
return true; |
} |