Index: components/cdm/renderer/widevine_key_system_properties.cc |
diff --git a/components/cdm/renderer/widevine_key_system_properties.cc b/components/cdm/renderer/widevine_key_system_properties.cc |
index 276f6238efa1348ffd7ce8be3789a0ee7390c316..c16e8e7828f51173481e45b1196292ae846d40d2 100644 |
--- a/components/cdm/renderer/widevine_key_system_properties.cc |
+++ b/components/cdm/renderer/widevine_key_system_properties.cc |
@@ -4,6 +4,7 @@ |
#include "components/cdm/renderer/widevine_key_system_properties.h" |
+#include "media/media_features.h" |
#include "ppapi/features/features.h" |
#include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. |
@@ -72,10 +73,10 @@ bool WidevineKeySystemProperties::IsSupportedInitDataType( |
// |init_data_type| x |container| pairings. |
if (init_data_type == EmeInitDataType::WEBM) |
return (supported_codecs_ & media::EME_CODEC_WEBM_ALL) != 0; |
-#if defined(USE_PROPRIETARY_CODECS) |
+#if BUILDFLAG(USE_PROPRIETARY_CODECS) |
if (init_data_type == EmeInitDataType::CENC) |
return (supported_codecs_ & media::EME_CODEC_MP4_ALL) != 0; |
-#endif // defined(USE_PROPRIETARY_CODECS) |
+#endif // BUILDFLAG(USE_PROPRIETARY_CODECS) |
return false; |
} |