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

Unified Diff: storage/browser/fileapi/quota/quota_reservation_manager.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/quota/quota_reservation_manager.cc
diff --git a/storage/browser/fileapi/quota/quota_reservation_manager.cc b/storage/browser/fileapi/quota/quota_reservation_manager.cc
index 6b69191bbc8f66e908b46e58064c665dc1a4701a..b6d2387ca057d6e6871c61c1e6b3853bd047bba8 100644
--- a/storage/browser/fileapi/quota/quota_reservation_manager.cc
+++ b/storage/browser/fileapi/quota/quota_reservation_manager.cc
@@ -5,6 +5,7 @@
#include "storage/browser/fileapi/quota/quota_reservation_manager.h"
#include <stdint.h>
+#include <utility>
#include "storage/browser/fileapi/quota/quota_reservation.h"
#include "storage/browser/fileapi/quota/quota_reservation_buffer.h"
@@ -13,8 +14,7 @@ namespace storage {
QuotaReservationManager::QuotaReservationManager(
scoped_ptr<QuotaBackend> backend)
- : backend_(backend.Pass()),
- weak_ptr_factory_(this) {
+ : backend_(std::move(backend)), weak_ptr_factory_(this) {
sequence_checker_.DetachFromSequence();
}
« no previous file with comments | « storage/browser/fileapi/plugin_private_file_system_backend.cc ('k') | storage/browser/fileapi/sandbox_file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698