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 0083cc433832a126fd423fae0f82e14f04297ec6..d9c4b6e774c593d67ccac6d889b20b5dec3dca96 100644 |
--- a/net/http/http_stream_factory_impl_job_controller.cc |
+++ b/net/http/http_stream_factory_impl_job_controller.cc |
@@ -908,8 +908,7 @@ HttpStreamFactoryImpl::JobController::GetAlternativeServiceForInternal( |
continue; |
} |
- if (session_->quic_stream_factory()->IsQuicDisabled( |
- alternative_service.port)) |
+ if (session_->quic_stream_factory()->IsQuicDisabled()) |
continue; |
if (!original_url.SchemeIs("https")) |
@@ -997,11 +996,9 @@ bool HttpStreamFactoryImpl::JobController:: |
} |
if (alternative_proxy_server->is_quic()) { |
- // Check that QUIC is enabled globally, and it is not disabled on |
- // the specified port. |
+ // Check that QUIC is enabled globally, and it is not disabled. |
if (!session_->params().enable_quic || |
- session_->quic_stream_factory()->IsQuicDisabled( |
- alternative_proxy_server->host_port_pair().port())) { |
+ session_->quic_stream_factory()->IsQuicDisabled()) { |
return false; |
} |
} |