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 { |