Update DoH handling.

This commit is contained in:
Alexander David Frick 2022-02-17 11:37:25 -06:00 committed by GitHub
parent f9a5299a7a
commit df4855ff4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -359,11 +359,11 @@ SecureDnsConfig StubResolverConfigReader::GetAndUpdateConfiguration(
}
if (update_network_service) {
content::GetNetworkService()->ConfigureStubHostResolver(
GetInsecureStubResolverEnabled(), secure_dns_mode, doh_config.servers(),
GetInsecureStubResolverEnabled(), secure_dns_mode, doh_config,
additional_dns_query_types_enabled);
}
return SecureDnsConfig(secure_dns_mode, doh_config.servers(),
return SecureDnsConfig(secure_dns_mode, std::move(doh_config),
forced_management_mode);
}