| 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 c1efb61c4db40774d5d6e596e561b2fc464e07af..74fe5d3b64d645d42609ad706fbc3612d764827d 100644
|
| --- a/net/http/http_stream_factory_impl_job_controller.cc
|
| +++ b/net/http/http_stream_factory_impl_job_controller.cc
|
| @@ -909,8 +909,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"))
|
| @@ -998,11 +997,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;
|
| }
|
| }
|
|
|