Index: net/dns/dns_config_service_win.cc |
diff --git a/net/dns/dns_config_service_win.cc b/net/dns/dns_config_service_win.cc |
index c64f65142953f0db124604f2e0c3378028086973..af609f040cb06cd737e5104cf760e0aea631c7ca 100644 |
--- a/net/dns/dns_config_service_win.cc |
+++ b/net/dns/dns_config_service_win.cc |
@@ -329,8 +329,7 @@ class DnsConfigServiceWin::ConfigReader : public SerialWorker { |
// Should be called on WorkerPool. |
success_ = false; |
- DnsSystemSettings settings; |
- memset(&settings, 0, sizeof(settings)); |
+ DnsSystemSettings settings = {}; |
settings.addresses = ReadIpHelper(GAA_FLAG_SKIP_ANYCAST | |
GAA_FLAG_SKIP_UNICAST | |
GAA_FLAG_SKIP_MULTICAST | |