| Index: net/http/http_stream_factory_impl.cc
|
| diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc
|
| index 83046944ac2e25ab56c81bb92dee2bbea425e69c..8b12dba4a0e9f121b7d708950f995d19bddb8831 100644
|
| --- a/net/http/http_stream_factory_impl.cc
|
| +++ b/net/http/http_stream_factory_impl.cc
|
| @@ -184,8 +184,7 @@ AlternateProtocolInfo HttpStreamFactoryImpl::GetAlternateProtocolRequestFor(
|
| if (original_url.SchemeIs("ftp"))
|
| return kNoAlternateProtocol;
|
|
|
| - HostPortPair origin = HostPortPair(original_url.HostNoBrackets(),
|
| - original_url.EffectiveIntPort());
|
| + HostPortPair origin = HostPortPair::FromURL(original_url);
|
|
|
| HttpServerProperties& http_server_properties =
|
| *session_->http_server_properties();
|
|
|