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 e82bc1e265d0fccfd8c061e6d35df2d6dd2443a8..6b458d30555b2ad8281f4ae33fcddbf94ceca8d0 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
@@ -80,6 +80,7 @@ |
#include "content/public/common/content_client.h" |
#include "content/public/common/url_utils.h" |
#include "extensions/features/features.h" |
+#include "ppapi/features/features.h" |
#include "printing/features/features.h" |
#include "ui/gfx/favicon_size.h" |
#include "ui/web_dialogs/web_dialog_ui.h" |
@@ -584,7 +585,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, |
if (url.host_piece() == chrome::kChromeUIExtensionsFrameHost) |
return &NewWebUI<extensions::ExtensionsUI>; |
#endif |
-#if defined(ENABLE_PLUGINS) |
+#if BUILDFLAG(ENABLE_PLUGINS) |
if (url.host_piece() == chrome::kChromeUIFlashHost) |
return &NewWebUI<FlashUI>; |
if (url.host_piece() == chrome::kChromeUIPluginsHost) |