Index: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
index 88afa473d3ab30ba07825210928f73ca26b26df0..585ce4cf992a9c2b10c8053f1776d3be97da891e 100644 |
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc |
@@ -85,7 +85,7 @@ |
#include "extensions/browser/browser_context_keyed_service_factories.h" |
#endif |
-#if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
+#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
#include "chrome/browser/captive_portal/captive_portal_service_factory.h" |
#endif |
@@ -196,7 +196,7 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() { |
BookmarkModelFactory::GetInstance(); |
BookmarkUndoServiceFactory::GetInstance(); |
BrowsingDataRemoverFactory::GetInstance(); |
-#if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
+#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
CaptivePortalServiceFactory::GetInstance(); |
#endif |
#if defined(OS_ANDROID) |