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

Unified Diff: storage/browser/quota/quota_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
« no previous file with comments | « storage/browser/fileapi/transient_file_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/quota/quota_manager.cc
diff --git a/storage/browser/quota/quota_manager.cc b/storage/browser/quota/quota_manager.cc
index aa8a9f6b4bf605bd4007c790687ae6fad68bf648..7f6cec3f7506f5b8838d851a26f8307b04d85a73 100644
--- a/storage/browser/quota/quota_manager.cc
+++ b/storage/browser/quota/quota_manager.cc
@@ -6,10 +6,10 @@
#include <stddef.h>
#include <stdint.h>
-
#include <algorithm>
#include <functional>
#include <limits>
+#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -1004,7 +1004,7 @@ void QuotaManager::SetUsageCacheEnabled(QuotaClient::ID client_id,
void QuotaManager::SetTemporaryStorageEvictionPolicy(
scoped_ptr<QuotaEvictionPolicy> policy) {
- temporary_storage_eviction_policy_ = policy.Pass();
+ temporary_storage_eviction_policy_ = std::move(policy);
}
void QuotaManager::DeleteOriginData(const GURL& origin,
« no previous file with comments | « storage/browser/fileapi/transient_file_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698