Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index a5e0d6c230647f8dbb4de909abb458cb898434a5..19646787be9606ba0fd779951ef39ee6fa95e807 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -121,7 +121,7 @@ |
#include "extensions/common/constants.h" |
#endif |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
#include "chrome/browser/supervised_user/supervised_user_service.h" |
#include "chrome/browser/supervised_user/supervised_user_service_factory.h" |
#include "chrome/browser/supervised_user/supervised_user_url_filter.h" |
@@ -433,7 +433,7 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) { |
params->proxy_config_service = ProxyServiceFactory::CreateProxyConfigService( |
profile->GetProxyConfigTracker()); |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
SupervisedUserService* supervised_user_service = |
SupervisedUserServiceFactory::GetForProfile(profile); |
params->supervised_user_url_filter = |
@@ -1098,7 +1098,7 @@ void ProfileIOData::Init( |
profile_params_->resource_prefetch_predictor_observer_.release()); |
} |
-#if defined(ENABLE_SUPERVISED_USERS) |
+#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
supervised_user_url_filter_ = profile_params_->supervised_user_url_filter; |
#endif |