| 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 6f402135c883775bfa0670b64db8e1dd5b4fce30..e87a23bf916f1650a248eeab766ef08b3ef5f593 100644
|
| --- a/content/browser/loader/redirect_to_file_resource_handler.cc
|
| +++ b/content/browser/loader/redirect_to_file_resource_handler.cc
|
| @@ -281,8 +281,8 @@ void RedirectToFileResourceHandler::DidWriteToFile(int result) {
|
| if (completed_during_write_ && completed_status_.is_success()) {
|
| // If the request successfully completed mid-write, but the write failed,
|
| // convert the status to a failure for downstream.
|
| - completed_status_.set_status(net::URLRequestStatus::CANCELED);
|
| - completed_status_.set_error(net::ERR_FAILED);
|
| + completed_status_ = net::URLRequestStatus(net::URLRequestStatus::CANCELED,
|
| + net::ERR_FAILED);
|
| }
|
| if (!completed_during_write_)
|
| controller()->CancelWithError(net::ERR_FAILED);
|
|
|