Index: net/http/http_stream_factory_impl_job_controller.cc |
diff --git a/net/http/http_stream_factory_impl_job_controller.cc b/net/http/http_stream_factory_impl_job_controller.cc |
index 2ce5c9b542e8d70a066f64f251491c9beaeb1bb2..0dd5afe7af8d1c4fd8084f6ffcb970636de10a89 100644 |
--- a/net/http/http_stream_factory_impl_job_controller.cc |
+++ b/net/http/http_stream_factory_impl_job_controller.cc |
@@ -918,8 +918,7 @@ HttpStreamFactoryImpl::JobController::GetAlternativeServiceForInternal( |
origin.port() < kUnrestrictedPort)) |
continue; |
- if (alternative_service.protocol >= NPN_SPDY_MINIMUM_VERSION && |
- alternative_service.protocol <= NPN_SPDY_MAXIMUM_VERSION) { |
+ if (alternative_service.protocol == NPN_HTTP_2) { |
if (origin.host() != alternative_service.host && |
!session_->params() |
.enable_http2_alternative_service_with_different_host) { |