| Index: net/http/http_stream_factory.cc
|
| diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc
|
| index 754372bb88aec3549c08266e07992ed455b8bce3..74424d8ee5efd5760567e6aa73fd5ac4a43c9cab 100644
|
| --- a/net/http/http_stream_factory.cc
|
| +++ b/net/http/http_stream_factory.cc
|
| @@ -86,7 +86,8 @@ void HttpStreamFactory::ProcessAlternateProtocol(
|
| if (mapping_rules)
|
| mapping_rules->RewriteHost(&host_port);
|
|
|
| - http_server_properties->SetAlternateProtocol(
|
| + http_server_properties->ClearAlternateProtocols(host_port);
|
| + http_server_properties->AddAlternateProtocol(
|
| host_port, static_cast<uint16>(port), protocol, probability);
|
| }
|
|
|
|
|