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

Unified Diff: storage/browser/fileapi/plugin_private_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/plugin_private_file_system_backend.cc
diff --git a/storage/browser/fileapi/plugin_private_file_system_backend.cc b/storage/browser/fileapi/plugin_private_file_system_backend.cc
index f1a1beba41a72110d80bbff9a09d5839a4c1e96e..2eb36ff0d1afab6656e765a481e8b5ee6c7b7b01 100644
--- a/storage/browser/fileapi/plugin_private_file_system_backend.cc
+++ b/storage/browser/fileapi/plugin_private_file_system_backend.cc
@@ -5,8 +5,8 @@
#include "storage/browser/fileapi/plugin_private_file_system_backend.h"
#include <stdint.h>
-
#include <map>
+#include <utility>
#include "base/stl_util.h"
#include "base/synchronization/lock.h"
@@ -182,7 +182,8 @@ FileSystemOperation* PluginPrivateFileSystemBackend::CreateFileSystemOperation(
base::File::Error* error_code) const {
scoped_ptr<FileSystemOperationContext> operation_context(
new FileSystemOperationContext(context));
- return FileSystemOperation::Create(url, context, operation_context.Pass());
+ return FileSystemOperation::Create(url, context,
+ std::move(operation_context));
}
bool PluginPrivateFileSystemBackend::SupportsStreaming(
« no previous file with comments | « storage/browser/fileapi/obfuscated_file_util.cc ('k') | storage/browser/fileapi/quota/quota_reservation_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698