Index: net/url_request/url_request_ftp_job.cc |
diff --git a/net/url_request/url_request_ftp_job.cc b/net/url_request/url_request_ftp_job.cc |
index 941ebf386d1d8f14e5485322fce8d5002e450f73..1c20a578370faf4974e11c9c33e83cef4b369502 100644 |
--- a/net/url_request/url_request_ftp_job.cc |
+++ b/net/url_request/url_request_ftp_job.cc |
@@ -291,7 +291,7 @@ void URLRequestFtpJob::GetAuthChallengeInfo( |
scoped_refptr<AuthChallengeInfo> auth_info(new AuthChallengeInfo); |
auth_info->is_proxy = false; |
- auth_info->challenger = HostPortPair::FromURL(request_->url()); |
+ auth_info->challenger = url::Origin(request_->url()); |
// scheme and realm are kept empty. |
DCHECK(auth_info->scheme.empty()); |
DCHECK(auth_info->realm.empty()); |