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 11f5e3fbf397b9649250d1609e106a90415eb2bc..fe1cc5115b13d19c4f36c623e2a4b05d7ee28d7e 100644 |
--- a/net/http/http_server_properties_impl.cc |
+++ b/net/http/http_server_properties_impl.cc |
@@ -336,8 +336,7 @@ AlternativeServiceVector HttpServerPropertiesImpl::GetAlternativeServices( |
// If the alternative service is equivalent to the origin (same host, same |
// port, and both TCP), skip it. |
if (host_port_pair.Equals(alternative_service.host_port_pair()) && |
- NPN_SPDY_MINIMUM_VERSION <= alternative_service.protocol && |
- alternative_service.protocol <= NPN_SPDY_MAXIMUM_VERSION) { |
+ alternative_service.protocol == NPN_HTTP_2) { |
++it; |
continue; |
} |