| Index: third_party/widevine/cdm/widevine_cdm_common.h
|
| diff --git a/third_party/widevine/cdm/widevine_cdm_common.h b/third_party/widevine/cdm/widevine_cdm_common.h
|
| index e0344947278d308ff7fcd29aa3420a3019e494e3..1a962a01160a4e69c6fce16113868cc54fda84e7 100644
|
| --- a/third_party/widevine/cdm/widevine_cdm_common.h
|
| +++ b/third_party/widevine/cdm/widevine_cdm_common.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_
|
| #define WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_
|
|
|
| +#include "ppapi/features/features.h"
|
| +
|
| // This file defines constants common to all Widevine CDM versions.
|
|
|
| // Widevine CDM version contains 4 components, e.g. 1.4.0.195.
|
| @@ -28,7 +30,7 @@ const char kWidevineCdmDisplayName[] = "Widevine Content Decryption Module";
|
| const char kWidevineCdmDescription[] =
|
| "Enables Widevine licenses for playback of HTML audio/video content.";
|
|
|
| -#if defined(ENABLE_PEPPER_CDMS)
|
| +#if BUILDFLAG(ENABLE_PEPPER_CDMS)
|
| const char kWidevineCdmPluginMimeType[] = "application/x-ppapi-widevine-cdm";
|
| const char kWidevineCdmPluginMimeTypeDescription[] =
|
| "Widevine Content Decryption Module";
|
| @@ -60,6 +62,6 @@ const char kCdmSupportedCodecAvc1[] = "avc1";
|
| // CDM is installed by the component installer instead of the Chrome installer.
|
| #define WIDEVINE_CDM_IS_COMPONENT
|
| #endif // defined(OS_MACOSX) || defined(OS_WIN)
|
| -#endif // defined(ENABLE_PEPPER_CDMS)
|
| +#endif // BUILDFLAG(ENABLE_PEPPER_CDMS)
|
|
|
| #endif // WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_
|
|
|