| Index: net/url_request/url_request_error_job.cc
|
| diff --git a/net/url_request/url_request_error_job.cc b/net/url_request/url_request_error_job.cc
|
| index efbf4247d3122c86ec88ee450f5f51a1a418c11b..c2a75c1eff2c2961852d618591eb829297ece47f 100644
|
| --- a/net/url_request/url_request_error_job.cc
|
| +++ b/net/url_request/url_request_error_job.cc
|
| @@ -28,6 +28,11 @@ void URLRequestErrorJob::Start() {
|
| base::Bind(&URLRequestErrorJob::StartAsync, weak_factory_.GetWeakPtr()));
|
| }
|
|
|
| +void URLRequestErrorJob::Kill() {
|
| + weak_factory_.InvalidateWeakPtrs();
|
| + URLRequestJob::Kill();
|
| +}
|
| +
|
| void URLRequestErrorJob::StartAsync() {
|
| NotifyStartError(URLRequestStatus(URLRequestStatus::FAILED, error_));
|
| }
|
|
|