| Index: net/dns/dns_config_watcher_mac.cc
|
| diff --git a/net/dns/dns_config_watcher_mac.cc b/net/dns/dns_config_watcher_mac.cc
|
| index 0139472cbd1b9e7d28bbcf4b556443a60ac11019..0093bc220638c3d708495b40f9ea5956e1e80f02 100644
|
| --- a/net/dns/dns_config_watcher_mac.cc
|
| +++ b/net/dns/dns_config_watcher_mac.cc
|
| @@ -24,19 +24,16 @@ class DnsInfoApi {
|
| : dns_configuration_notify_key(NULL),
|
| dns_configuration_copy(NULL),
|
| dns_configuration_free(NULL) {
|
| - handle_ = dlopen("/usr/lib/libSystem.dylib",
|
| - RTLD_LAZY | RTLD_NOLOAD);
|
| + handle_ = dlopen("/usr/lib/libSystem.dylib", RTLD_LAZY | RTLD_NOLOAD);
|
| if (!handle_)
|
| return;
|
| dns_configuration_notify_key =
|
| reinterpret_cast<dns_configuration_notify_key_t>(
|
| dlsym(handle_, "dns_configuration_notify_key"));
|
| - dns_configuration_copy =
|
| - reinterpret_cast<dns_configuration_copy_t>(
|
| - dlsym(handle_, "dns_configuration_copy"));
|
| - dns_configuration_free =
|
| - reinterpret_cast<dns_configuration_free_t>(
|
| - dlsym(handle_, "dns_configuration_free"));
|
| + dns_configuration_copy = reinterpret_cast<dns_configuration_copy_t>(
|
| + dlsym(handle_, "dns_configuration_copy"));
|
| + dns_configuration_free = reinterpret_cast<dns_configuration_free_t>(
|
| + dlsym(handle_, "dns_configuration_free"));
|
| }
|
|
|
| ~DnsInfoApi() {
|
|
|