| Index: net/dns/dns_config_service_posix.cc
|
| diff --git a/net/dns/dns_config_service_posix.cc b/net/dns/dns_config_service_posix.cc
|
| index 4dda0fc3dc72867cea2a2f595cac4996541c052f..db9341861b45a1bd993edc34b3b4e30301ef03de 100644
|
| --- a/net/dns/dns_config_service_posix.cc
|
| +++ b/net/dns/dns_config_service_posix.cc
|
| @@ -215,8 +215,7 @@ class DnsConfigServicePosix::HostsReader : public SerialWorker {
|
| };
|
|
|
| DnsConfigServicePosix::DnsConfigServicePosix()
|
| - : watcher_(new Watcher(this)),
|
| - config_reader_(new ConfigReader(this)),
|
| + : config_reader_(new ConfigReader(this)),
|
| hosts_reader_(new HostsReader(this)) {}
|
|
|
| DnsConfigServicePosix::~DnsConfigServicePosix() {
|
| @@ -231,6 +230,7 @@ void DnsConfigServicePosix::ReadNow() {
|
|
|
| bool DnsConfigServicePosix::StartWatching() {
|
| // TODO(szym): re-start watcher if that makes sense. http://crbug.com/116139
|
| + watcher_.reset(new Watcher(this));
|
| return watcher_->Watch();
|
| }
|
|
|
|
|