Index: chrome/browser/prefs/browser_prefs.cc |
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc |
index d9c2753d97ed1231627fddeface956b777bc85e2..4dd2b1ebdc328cfc68c574072efa1113e5411f86 100644 |
--- a/chrome/browser/prefs/browser_prefs.cc |
+++ b/chrome/browser/prefs/browser_prefs.cc |
@@ -143,7 +143,7 @@ |
#include "chrome/browser/supervised_user/supervised_user_whitelist_service.h" |
#endif |
-#if defined(ENABLE_SERVICE_DISCOVERY) |
+#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
#include "chrome/browser/ui/webui/local_discovery/local_discovery_ui.h" |
#endif |
@@ -539,7 +539,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
printing::StickySettings::RegisterProfilePrefs(registry); |
#endif |
-#if defined(ENABLE_SERVICE_DISCOVERY) |
+#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
LocalDiscoveryUI::RegisterProfilePrefs(registry); |
#endif |