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

Unified Diff: storage/browser/blob/internal_blob_data.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/blob/internal_blob_data.cc
diff --git a/storage/browser/blob/internal_blob_data.cc b/storage/browser/blob/internal_blob_data.cc
index fae109a97d60f81c90b26283d3b5a21d645438dc..cbec2900d6952ade4cd13075f0ba3137be29bb39 100644
--- a/storage/browser/blob/internal_blob_data.cc
+++ b/storage/browser/blob/internal_blob_data.cc
@@ -5,6 +5,7 @@
#include "storage/browser/blob/internal_blob_data.h"
#include <stddef.h>
+#include <utility>
#include "base/containers/hash_tables.h"
#include "base/metrics/histogram.h"
@@ -50,7 +51,7 @@ size_t InternalBlobData::Builder::GetNonsharedMemoryUsage() const {
scoped_ptr<InternalBlobData> InternalBlobData::Builder::Build() {
DCHECK(data_);
- return data_.Pass();
+ return std::move(data_);
}
InternalBlobData::InternalBlobData() {
« no previous file with comments | « storage/browser/blob/blob_url_request_job_factory.cc ('k') | storage/browser/blob/shareable_file_reference.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698