| Index: third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc
|
| diff --git a/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc b/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc
|
| index df99205816674027751cb6771e3417b895e28d59..1047f55dea2e8624e2ef7f349529c7c4e29b69a0 100644
|
| --- a/third_party/mojo/src/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc
|
| +++ b/third_party/mojo/src/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;
|
| }
|
|
|
|
|