Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: components/cdm/renderer/widevine_key_systems.cc

Issue 1027363002: Change EmeInitDataType to be an enum class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cdm/renderer/widevine_key_systems.cc
diff --git a/components/cdm/renderer/widevine_key_systems.cc b/components/cdm/renderer/widevine_key_systems.cc
index 037df1b50c3a6baf3f90a19706fde2d3b0538b74..6406749696f40181bbf41314fa7628ea4a48cf2e 100644
--- a/components/cdm/renderer/widevine_key_systems.cc
+++ b/components/cdm/renderer/widevine_key_systems.cc
@@ -60,10 +60,10 @@ void AddWidevineWithCodecs(
// associated initialization data type. KeySystems handles validating
// |init_data_type| x |container| pairings.
if (supported_codecs & media::EME_CODEC_WEBM_ALL)
- info.supported_init_data_types |= media::EME_INIT_DATA_TYPE_WEBM;
+ info.supported_init_data_types |= media::kSupportedInitDataTypeWebM;
#if defined(USE_PROPRIETARY_CODECS)
if (supported_codecs & media::EME_CODEC_MP4_ALL)
- info.supported_init_data_types |= media::EME_INIT_DATA_TYPE_CENC;
+ info.supported_init_data_types |= media::kSupportedInitDataTypeCenc;
#endif // defined(USE_PROPRIETARY_CODECS)
info.persistent_license_support = persistent_license_support;

Powered by Google App Engine
This is Rietveld 408576698