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 7e76ce5ce3436767ba5f47262d75ec4dbcaf16b8..c1af2fd8f466ede42022cc08560dc37911798eee 100644 |
--- a/net/http/http_stream_factory_impl_job_controller.cc |
+++ b/net/http/http_stream_factory_impl_job_controller.cc |
@@ -945,7 +945,7 @@ HttpStreamFactoryImpl::JobController::GetAlternativeServiceForInternal( |
} |
quic_all_broken = false; |
- if (!session_->params().enable_quic) |
+ if (!session_->IsQuicEnabled()) |
continue; |
if (!IsQuicWhitelistedForHost(origin.host())) |
@@ -1045,7 +1045,7 @@ bool HttpStreamFactoryImpl::JobController:: |
if (alternative_proxy_server->is_quic()) { |
// Check that QUIC is enabled globally, and it is not disabled. |
- if (!session_->params().enable_quic || |
+ if (!session_->IsQuicEnabled() || |
session_->quic_stream_factory()->IsQuicDisabled()) { |
return false; |
} |