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

Unified Diff: storage/browser/blob/blob_data_handle.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/blob/blob_data_builder.cc ('k') | storage/browser/blob/blob_data_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/blob/blob_data_handle.cc
diff --git a/storage/browser/blob/blob_data_handle.cc b/storage/browser/blob/blob_data_handle.cc
index efc757e57dbd02f10abc8f2090938f295d4308de..efe13b16ea5eceaa51fab1d078c205d92dae81c4 100644
--- a/storage/browser/blob/blob_data_handle.cc
+++ b/storage/browser/blob/blob_data_handle.cc
@@ -47,12 +47,8 @@ class FileStreamReaderProviderImpl
int64_t max_bytes_to_read,
const base::Time& expected_modification_time) override {
return file_system_context_->CreateFileStreamReader(
- storage::FileSystemURL(
- file_system_context_->CrackURL(
- filesystem_url)),
- offset, max_bytes_to_read,
- expected_modification_time)
- .Pass();
+ storage::FileSystemURL(file_system_context_->CrackURL(filesystem_url)),
+ offset, max_bytes_to_read, expected_modification_time);
}
private:
@@ -85,7 +81,7 @@ scoped_ptr<BlobReader> BlobDataHandle::CreateReader(
scoped_ptr<BlobDataSnapshot>
BlobDataHandle::BlobDataHandleShared::CreateSnapshot() const {
- return context_->CreateSnapshot(uuid_).Pass();
+ return context_->CreateSnapshot(uuid_);
}
BlobDataHandle::BlobDataHandleShared::~BlobDataHandleShared() {
@@ -121,7 +117,7 @@ BlobDataHandle::~BlobDataHandle() {
scoped_ptr<BlobDataSnapshot> BlobDataHandle::CreateSnapshot() const {
DCHECK(io_task_runner_->RunsTasksOnCurrentThread());
- return shared_->CreateSnapshot().Pass();
+ return shared_->CreateSnapshot();
}
const std::string& BlobDataHandle::uuid() const {
« no previous file with comments | « storage/browser/blob/blob_data_builder.cc ('k') | storage/browser/blob/blob_data_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698