| Index: net/http/http_server_properties_impl.cc
|
| diff --git a/net/http/http_server_properties_impl.cc b/net/http/http_server_properties_impl.cc
|
| index 0d1530ad1decd1266b78b68851428e67b49197fd..baa0edbdf8d2397a2607b09ff80e174cba042ee8 100644
|
| --- a/net/http/http_server_properties_impl.cc
|
| +++ b/net/http/http_server_properties_impl.cc
|
| @@ -307,17 +307,10 @@ void HttpServerPropertiesImpl::SetAlternateProtocol(
|
|
|
| void HttpServerPropertiesImpl::SetBrokenAlternateProtocol(
|
| const HostPortPair& server) {
|
| - AlternateProtocolMap::iterator it = alternate_protocol_map_.Get(server);
|
| const AlternateProtocolInfo alternate = GetAlternateProtocol(server);
|
| - if (it == alternate_protocol_map_.end()) {
|
| - if (alternate.protocol == UNINITIALIZED_ALTERNATE_PROTOCOL) {
|
| - LOG(DFATAL) << "Trying to mark unknown alternate protocol broken.";
|
| - return;
|
| - }
|
| - // This server's alternate protocol information is coming from a canonical
|
| - // server. Add an entry in the map for this server explicitly so that
|
| - // it can be marked as broken.
|
| - it = alternate_protocol_map_.Put(server, alternate);
|
| + if (alternate.protocol == UNINITIALIZED_ALTERNATE_PROTOCOL) {
|
| + LOG(DFATAL) << "Trying to mark unknown alternate protocol broken.";
|
| + return;
|
| }
|
| const AlternativeService alternative_service(alternate.protocol,
|
| server.host(), alternate.port);
|
|
|