| Index: net/http/http_stream_factory.cc
|
| diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc
|
| index c4d0e728881a9981086814874eba57f5d69578b5..35083f0429cde0513686a9c2a588b7d41614aaa7 100644
|
| --- a/net/http/http_stream_factory.cc
|
| +++ b/net/http/http_stream_factory.cc
|
| @@ -84,7 +84,7 @@ void HttpStreamFactory::ProcessAlternateProtocol(
|
| }
|
|
|
| if (!is_valid || protocol == UNINITIALIZED_ALTERNATE_PROTOCOL) {
|
| - http_server_properties->ClearAlternateProtocol(http_host_port_pair);
|
| + http_server_properties->ClearAlternativeService(http_host_port_pair);
|
| return;
|
| }
|
|
|
| @@ -93,8 +93,9 @@ void HttpStreamFactory::ProcessAlternateProtocol(
|
| if (mapping_rules)
|
| mapping_rules->RewriteHost(&host_port);
|
|
|
| - http_server_properties->SetAlternateProtocol(
|
| - host_port, static_cast<uint16>(port), protocol, probability);
|
| + http_server_properties->SetAlternativeService(
|
| + host_port, AlternativeService(protocol, "", static_cast<uint16>(port)),
|
| + probability);
|
| }
|
|
|
| GURL HttpStreamFactory::ApplyHostMappingRules(const GURL& url,
|
|
|