Index: components/cronet/android/url_request_context_adapter.cc |
diff --git a/components/cronet/android/url_request_context_adapter.cc b/components/cronet/android/url_request_context_adapter.cc |
index 45ed5fb85ec53dd3910ebdd2f1367075c707d01e..9d21b598de74784e8b228dad1f9fdf11ec2e9ee1 100644 |
--- a/components/cronet/android/url_request_context_adapter.cc |
+++ b/components/cronet/android/url_request_context_adapter.cc |
@@ -154,7 +154,7 @@ void URLRequestContextAdapter::InitRequestContextOnNetworkThread() { |
// Currently (circa M39) enabling QUIC requires setting probability threshold. |
if (config_->enable_quic) { |
context_->http_server_properties() |
- ->SetAlternateProtocolProbabilityThreshold(0.0f); |
+ ->SetAlternativeServiceProbabilityThreshold(0.0f); |
for (size_t hint = 0; hint < config_->quic_hints.size(); ++hint) { |
const URLRequestContextConfig::QuicHint& quic_hint = |
*config_->quic_hints[hint]; |