      if (!config_watcher_.Watch(base::Bind(&Watcher::OnConfigChanged,
                                            base::Unretained(this)))) {
        LOG(ERROR) << "DNS config watch failed to start.";
-@@ -219,6 +220,7 @@ class DnsConfigServicePosix::Watcher {
-                                 DNS_CONFIG_WATCH_FAILED_TO_START_HOSTS,
+@@ -221,6 +222,7 @@ class DnsConfigServicePosix::Watcher {
                                  DNS_CONFIG_WATCH_MAX);
      }
+ #endif
 +#endif
      return success;
    }

 }
 
diff --git a/net/dns/dns_config_service_posix.cc b/net/dns/dns_config_service_posix.cc
index 02877e7..973e485 100644
--- a/net/dns/dns_config_service_posix.cc
+++ b/net/dns/dns_config_service_posix.cc
@@ -202,6 +202,7 @@ class DnsConfigServicePosix::Watcher {

 
 using ui::AXNodeData;
 using content::AccessibilityMatchPredicate;
@@ -420,7 +422,9 @@ bool InitializeAccessibilityTreeSearch(
 
 - (void)detach {
   if (browserAccessibility_) {
