Index: gpu/command_buffer/service/gpu_preferences.h |
diff --git a/gpu/command_buffer/service/gpu_preferences.h b/gpu/command_buffer/service/gpu_preferences.h |
index 8d170985f175ef7421ff8e978d2655f45f646a7e..b7db89f457c24d9f473656b55b5da718f27e7729 100644 |
--- a/gpu/command_buffer/service/gpu_preferences.h |
+++ b/gpu/command_buffer/service/gpu_preferences.h |
@@ -11,6 +11,7 @@ |
#include "build/build_config.h" |
#include "gpu/command_buffer/common/constants.h" |
#include "gpu/gpu_export.h" |
+#include "media/media_features.h" |
namespace gpu { |
@@ -51,7 +52,7 @@ struct GPU_EXPORT GpuPreferences { |
bool disable_vaapi_accelerated_video_encode = false; |
#endif |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
// Disables HW encode acceleration for WebRTC. |
bool disable_web_rtc_hw_encoding = false; |
#endif |