| Index: net/url_request/url_request_http_job.cc
|
| diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
|
| index caf344c325363afafb7dd6ed1fa8c42306d93e41..a5f2eca3d4c7e0d6c6ed2e351e20d81a2e81dcf9 100644
|
| --- a/net/url_request/url_request_http_job.cc
|
| +++ b/net/url_request/url_request_http_job.cc
|
| @@ -868,8 +868,9 @@ void URLRequestHttpJob::SetExtraRequestHeaders(
|
| void URLRequestHttpJob::Start() {
|
| DCHECK(!transaction_.get());
|
|
|
| - // Ensure that we do not send username and password fields in the referrer.
|
| - GURL referrer(request_->GetSanitizedReferrer());
|
| + // URLRequest::SetReferrer ensures that we do not send username and password
|
| + // fields in the referrer.
|
| + GURL referrer(request_->referrer());
|
|
|
| request_info_.url = request_->url();
|
| request_info_.method = request_->method();
|
|
|