Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: storage/browser/fileapi/sandbox_file_system_backend.cc

Issue 1546243002: Convert Pass()→std::move() in //storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: storage/browser/fileapi/sandbox_file_system_backend.cc
diff --git a/storage/browser/fileapi/sandbox_file_system_backend.cc b/storage/browser/fileapi/sandbox_file_system_backend.cc
index c8b7f37593393505206014f794887ddf8ded6ac8..2b64193a5f26f145aec4ec721e335a914ab3876c 100644
--- a/storage/browser/fileapi/sandbox_file_system_backend.cc
+++ b/storage/browser/fileapi/sandbox_file_system_backend.cc
@@ -5,6 +5,7 @@
#include "storage/browser/fileapi/sandbox_file_system_backend.h"
#include <stdint.h>
+#include <utility>
#include "base/bind.h"
#include "base/files/file_util.h"
@@ -119,7 +120,8 @@ FileSystemOperation* SandboxFileSystemBackend::CreateFileSystemOperation(
else
operation_context->set_quota_limit_type(storage::kQuotaLimitTypeLimited);
- return FileSystemOperation::Create(url, context, operation_context.Pass());
+ return FileSystemOperation::Create(url, context,
+ std::move(operation_context));
}
bool SandboxFileSystemBackend::SupportsStreaming(

Powered by Google App Engine
This is Rietveld 408576698