| Index: net/url_request/url_fetcher_core.cc
|
| diff --git a/net/url_request/url_fetcher_core.cc b/net/url_request/url_fetcher_core.cc
|
| index d34f20f4d0919a1ad58108060c6e2f7cd5f3dcad..027991100532cb50d44c93a5d87c1a6ee789ca04 100644
|
| --- a/net/url_request/url_fetcher_core.cc
|
| +++ b/net/url_request/url_fetcher_core.cc
|
| @@ -668,8 +668,7 @@ void URLFetcherCore::CancelURLRequest(int error) {
|
| // URLRequestJob::NotifyDone(). But, because the request was released
|
| // immediately after being canceled, the request could not call
|
| // OnReadCompleted() which overwrites |status_| with the error status.
|
| - status_.set_status(URLRequestStatus::CANCELED);
|
| - status_.set_error(error);
|
| + status_ = URLRequestStatus(URLRequestStatus::CANCELED, error);
|
|
|
| // Release the reference to the request context. There could be multiple
|
| // references to URLFetcher::Core at this point so it may take a while to
|
|
|