Chromium Code Reviews| 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..88e4fd8292a5566edddce0244af807002a34ba40 100644 |
| --- a/net/http/http_stream_factory.cc |
| +++ b/net/http/http_stream_factory.cc |
| @@ -86,8 +86,10 @@ 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, host_port.host(), static_cast<uint16>(port)), |
|
Ryan Hamilton
2015/03/18 22:55:43
Instead of host_port.host(), this should be "".
Bence
2015/03/19 12:45:39
Oops, sorry.
Done.
|
| + probability); |
| } |
| GURL HttpStreamFactory::ApplyHostMappingRules(const GURL& url, |