| Index: content/browser/loader/redirect_to_file_resource_handler.cc
|
| diff --git a/content/browser/loader/redirect_to_file_resource_handler.cc b/content/browser/loader/redirect_to_file_resource_handler.cc
|
| index a9edb4eb6b2fb54f20de31ecf798b5f244c847db..1f70803ef7c9563454c6b4e45231fb0c5ba11221 100644
|
| --- a/content/browser/loader/redirect_to_file_resource_handler.cc
|
| +++ b/content/browser/loader/redirect_to_file_resource_handler.cc
|
| @@ -157,11 +157,8 @@ void RedirectToFileResourceHandler::
|
| bool RedirectToFileResourceHandler::OnResponseStarted(
|
| ResourceResponse* response,
|
| bool* defer) {
|
| - if (response->head.error_code == net::OK ||
|
| - response->head.error_code == net::ERR_IO_PENDING) {
|
| - DCHECK(writer_);
|
| - response->head.download_file_path = writer_->path();
|
| - }
|
| + DCHECK(writer_);
|
| + response->head.download_file_path = writer_->path();
|
| return next_handler_->OnResponseStarted(response, defer);
|
| }
|
|
|
|
|