diff options
Diffstat (limited to 'content/browser/loader/upload_data_stream_builder.cc')
-rw-r--r-- | content/browser/loader/upload_data_stream_builder.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/content/browser/loader/upload_data_stream_builder.cc b/content/browser/loader/upload_data_stream_builder.cc index 7f6b517..981d973 100644 --- a/content/browser/loader/upload_data_stream_builder.cc +++ b/content/browser/loader/upload_data_stream_builder.cc @@ -102,11 +102,9 @@ scoped_ptr<net::UploadDataStream> UploadDataStreamBuilder::Build( DCHECK_EQ(0ul, element.offset()); scoped_ptr<storage::BlobDataHandle> handle = blob_context->GetBlobDataFromUUID(element.blob_uuid()); - storage::BlobDataHandle* handle_ptr = handle.get(); element_readers.push_back( make_scoped_ptr(new storage::UploadBlobElementReader( - handle_ptr->CreateReader(file_system_context, file_task_runner), - std::move(handle)))); + std::move(handle), file_system_context, file_task_runner))); break; } case ResourceRequestBody::Element::TYPE_DISK_CACHE_ENTRY: |