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 3f6caaae309649bc5a623441b3a8da50b6325cfc..5ce7d4e8d2abf00af04df6657b7ed38669b9bed0 100644 |
--- a/net/http/http_server_properties_impl.cc |
+++ b/net/http/http_server_properties_impl.cc |
@@ -278,15 +278,6 @@ void HttpServerPropertiesImpl::SetAlternativeService( |
const HostPortPair& origin, |
const AlternativeService& alternative_service, |
double alternative_probability) { |
- AlternativeService complete_alternative_service(alternative_service); |
- if (complete_alternative_service.host.empty()) { |
- complete_alternative_service.host = origin.host(); |
- } |
- if (IsAlternativeServiceBroken(complete_alternative_service)) { |
- DVLOG(1) << "Ignore alternative service since it is known to be broken."; |
- return; |
- } |
- |
const AlternativeServiceInfo alternative_service_info( |
alternative_service, alternative_probability); |
AlternativeServiceMap::const_iterator it = |