| Index: content/browser/download/download_file_impl.cc
|
| diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc
|
| index 7599900f108da8ba87e9bd1e7801bd9c8307528b..de7b0c6a7d943313e30149ec5fd88ac12d8b7895 100644
|
| --- a/content/browser/download/download_file_impl.cc
|
| +++ b/content/browser/download/download_file_impl.cc
|
| @@ -28,20 +28,20 @@ const int kUpdatePeriodMs = 500;
|
| const int kMaxTimeBlockingFileThreadMs = 1000;
|
|
|
| DownloadFileImpl::DownloadFileImpl(
|
| - const DownloadCreateInfo* info,
|
| + scoped_ptr<DownloadCreateInfo> info,
|
| scoped_ptr<content::ByteStreamReader> stream,
|
| DownloadRequestHandleInterface* request_handle,
|
| scoped_refptr<DownloadManager> download_manager,
|
| bool calculate_hash,
|
| scoped_ptr<content::PowerSaveBlocker> power_save_blocker,
|
| const net::BoundNetLog& bound_net_log)
|
| - : file_(info->save_info.file_path,
|
| + : file_(info->save_info->file_path,
|
| info->url(),
|
| info->referrer_url,
|
| info->received_bytes,
|
| calculate_hash,
|
| - info->save_info.hash_state,
|
| - info->save_info.file_stream,
|
| + info->save_info->hash_state,
|
| + info->save_info->file_stream.Pass(),
|
| bound_net_log),
|
| stream_reader_(stream.Pass()),
|
| id_(info->download_id),
|
|
|