| 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 988ecdbcf808c0656442f954775a08956adcd945..ffbf2ae32b66f4f63cfa7efe75ddfe174f29f9f6 100644
|
| --- a/net/url_request/url_request_http_job.cc
|
| +++ b/net/url_request/url_request_http_job.cc
|
| @@ -309,8 +309,9 @@ void URLRequestHttpJob::SetPriority(RequestPriority priority) {
|
| 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();
|
|
|