Index: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
index 6b8cfb5baf08fa958c8817c738322001078d4b6d..ac57a4128795a205acd80b7335dd6d5b6fdb348c 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
@@ -181,7 +181,7 @@ |
#include "chrome/browser/ui/webui/local_discovery/local_discovery_ui.h" |
#endif |
-#if defined(ENABLE_APP_LIST) |
+#if BUILDFLAG(ENABLE_APP_LIST) |
#include "chrome/browser/ui/webui/app_list/start_page_ui.h" |
#endif |
@@ -591,7 +591,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, |
return &NewWebUI<PolicyMaterialDesignUI>; |
} |
-#if defined(ENABLE_APP_LIST) |
+#if BUILDFLAG(ENABLE_APP_LIST) |
if (url.host() == chrome::kChromeUIAppListStartPageHost) |
return &NewWebUI<app_list::StartPageUI>; |
#endif |