| 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 a1ab62a1a8908cb5b000f2c478d68da81bcc5464..694121634bcc8a06f4324fd60cc54184c96f583d 100644
|
| --- a/content/browser/download/download_file_impl.cc
|
| +++ b/content/browser/download/download_file_impl.cc
|
| @@ -45,6 +45,7 @@ DownloadFileImpl::DownloadFileImpl(
|
| bound_net_log),
|
| stream_reader_(stream.Pass()),
|
| id_(info->download_id),
|
| + default_download_directory_(info->default_download_directory),
|
| request_handle_(request_handle),
|
| download_manager_(download_manager),
|
| bytes_seen_(0),
|
| @@ -60,7 +61,7 @@ DownloadFileImpl::~DownloadFileImpl() {
|
|
|
| content::DownloadInterruptReason DownloadFileImpl::Initialize() {
|
| update_timer_.reset(new base::RepeatingTimer<DownloadFileImpl>());
|
| - net::Error result = file_.Initialize();
|
| + net::Error result = file_.Initialize(default_download_directory_);
|
| if (result != net::OK) {
|
| return content::ConvertNetErrorToInterruptReason(
|
| result, content::DOWNLOAD_INTERRUPT_FROM_DISK);
|
|
|