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 3e57844e9d87097757c5a233cac6dc640e7dd6ff..8a1544aee6969f6cd932373e48226f38a8234aba 100644 |
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc |
@@ -79,6 +79,7 @@ |
#include "content/public/common/content_client.h" |
#include "content/public/common/url_utils.h" |
#include "extensions/features/features.h" |
+#include "media/media_features.h" |
#include "ppapi/features/features.h" |
#include "printing/features/features.h" |
#include "ui/gfx/favicon_size.h" |
@@ -89,7 +90,7 @@ |
#include "chrome/browser/ui/webui/nacl_ui.h" |
#endif |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
#include "chrome/browser/ui/webui/media/webrtc_logs_ui.h" |
#endif |
@@ -599,7 +600,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, |
return &NewWebUI<LocalDiscoveryUI>; |
} |
#endif |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
if (url.host_piece() == chrome::kChromeUIWebRtcLogsHost) |
return &NewWebUI<WebRtcLogsUI>; |
#endif |