| Index: content/renderer/media/crypto/encrypted_media_player_support_impl.cc
|
| diff --git a/content/renderer/media/crypto/encrypted_media_player_support_impl.cc b/content/renderer/media/crypto/encrypted_media_player_support_impl.cc
|
| index c884cd6ac227e474860f42ee7685b7da6fafa21a..42f86b6e461d9558a58515dce01ebf8cab9703e2 100644
|
| --- a/content/renderer/media/crypto/encrypted_media_player_support_impl.cc
|
| +++ b/content/renderer/media/crypto/encrypted_media_player_support_impl.cc
|
| @@ -296,6 +296,14 @@ EncryptedMediaPlayerSupportImpl::CancelKeyRequestInternal(
|
| return WebMediaPlayer::MediaKeyExceptionNoError;
|
| }
|
|
|
| +void EncryptedMediaPlayerSupportImpl::SetInitialContentDecryptionModule(
|
| + blink::WebContentDecryptionModule* initial_cdm) {
|
| + // Used when loading media and no pipeline/decoder attached yet.
|
| + DCHECK(decryptor_ready_cb_.is_null());
|
| +
|
| + web_cdm_ = ToWebContentDecryptionModuleImpl(initial_cdm);
|
| +}
|
| +
|
| void EncryptedMediaPlayerSupportImpl::SetContentDecryptionModule(
|
| blink::WebContentDecryptionModule* cdm) {
|
| // TODO(xhwang): Support setMediaKeys(0) if necessary: http://crbug.com/330324
|
| @@ -335,14 +343,6 @@ void EncryptedMediaPlayerSupportImpl::SetContentDecryptionModule(
|
| }
|
| }
|
|
|
| -void EncryptedMediaPlayerSupportImpl::SetContentDecryptionModuleSync(
|
| - blink::WebContentDecryptionModule* cdm) {
|
| - // Used when loading media and no pipeline/decoder attached yet.
|
| - DCHECK(decryptor_ready_cb_.is_null());
|
| -
|
| - web_cdm_ = ToWebContentDecryptionModuleImpl(cdm);
|
| -}
|
| -
|
| void EncryptedMediaPlayerSupportImpl::ContentDecryptionModuleAttached(
|
| blink::WebContentDecryptionModuleResult result,
|
| bool success) {
|
|
|