Index: content/renderer/pepper/content_decryptor_delegate.cc |
diff --git a/content/renderer/pepper/content_decryptor_delegate.cc b/content/renderer/pepper/content_decryptor_delegate.cc |
index 8692c1ce643083c62c82c86f1eb47dafc616054a..e1b0b1ba3e5d1100275908abf15dd578ec1b86a9 100644 |
--- a/content/renderer/pepper/content_decryptor_delegate.cc |
+++ b/content/renderer/pepper/content_decryptor_delegate.cc |
@@ -161,10 +161,8 @@ PP_VideoCodec MediaVideoCodecToPpVideoCodec(media::VideoCodec codec) { |
PP_VideoCodecProfile MediaVideoCodecProfileToPpVideoCodecProfile( |
media::VideoCodecProfile profile) { |
switch (profile) { |
- // TODO(xhwang): VP8 and VP9 do not have profiles. Clean up |
- // media::VideoCodecProfile and remove these two cases. |
- case media::VP8PROFILE_MAIN: |
- case media::VP9PROFILE_MAIN: |
+ case media::VP8PROFILE_ANY: |
+ case media::VP9PROFILE_ANY: |
return PP_VIDEOCODECPROFILE_NOT_NEEDED; |
case media::H264PROFILE_BASELINE: |
return PP_VIDEOCODECPROFILE_H264_BASELINE; |