Index: net/http/http_auth_controller.cc |
diff --git a/net/http/http_auth_controller.cc b/net/http/http_auth_controller.cc |
index 36375f9a091a5e29715d0b44d168969896af1c84..d5c0c891da68ec28009de5d3b620a97261af1c4a 100644 |
--- a/net/http/http_auth_controller.cc |
+++ b/net/http/http_auth_controller.cc |
@@ -465,7 +465,7 @@ void HttpAuthController::PopulateAuthChallenge() { |
auth_info_ = new AuthChallengeInfo; |
auth_info_->is_proxy = (target_ == HttpAuth::AUTH_PROXY); |
- auth_info_->challenger = HostPortPair::FromURL(auth_origin_); |
+ auth_info_->challenger = url::Origin(auth_origin_); |
auth_info_->scheme = HttpAuth::SchemeToString(handler_->auth_scheme()); |
auth_info_->realm = handler_->realm(); |
} |