| Index: storage/browser/fileapi/async_file_util_adapter.cc
|
| diff --git a/storage/browser/fileapi/async_file_util_adapter.cc b/storage/browser/fileapi/async_file_util_adapter.cc
|
| index 6f7cafd3022f68ccfaf501ed9fc6992ab8ff3d53..361c73a7f09aaa32f699c5d4176dad82d45c1aad 100644
|
| --- a/storage/browser/fileapi/async_file_util_adapter.cc
|
| +++ b/storage/browser/fileapi/async_file_util_adapter.cc
|
| @@ -6,7 +6,7 @@
|
|
|
| #include <stddef.h>
|
| #include <stdint.h>
|
| -
|
| +#include <utility>
|
| #include <vector>
|
|
|
| #include "base/bind.h"
|
| @@ -76,7 +76,7 @@ class GetFileInfoHelper {
|
| void ReplySnapshotFile(
|
| const AsyncFileUtil::CreateSnapshotFileCallback& callback) {
|
| callback.Run(error_, file_info_, platform_path_,
|
| - ShareableFileReference::GetOrCreate(scoped_file_.Pass()));
|
| + ShareableFileReference::GetOrCreate(std::move(scoped_file_)));
|
| }
|
|
|
| private:
|
| @@ -138,7 +138,7 @@ void RunCreateOrOpenCallback(
|
| FileSystemOperationContext* context,
|
| const AsyncFileUtil::CreateOrOpenCallback& callback,
|
| base::File file) {
|
| - callback.Run(file.Pass(), base::Closure());
|
| + callback.Run(std::move(file), base::Closure());
|
| }
|
|
|
| } // namespace
|
|
|