| Index: content/renderer/media/cdm_session_adapter.cc
|
| diff --git a/content/renderer/media/cdm_session_adapter.cc b/content/renderer/media/cdm_session_adapter.cc
|
| index af88c70a5f84350517c21e387cdbd6e5a50d5044..276bb3e3f2df9b8d19c46f301fcf718e1d8a3fa6 100644
|
| --- a/content/renderer/media/cdm_session_adapter.cc
|
| +++ b/content/renderer/media/cdm_session_adapter.cc
|
| @@ -166,11 +166,8 @@ void CdmSessionAdapter::OnSessionExpirationUpdate(
|
| }
|
|
|
| void CdmSessionAdapter::OnSessionReady(const std::string& web_session_id) {
|
| - WebContentDecryptionModuleSessionImpl* session = GetSession(web_session_id);
|
| - DLOG_IF(WARNING, !session) << __FUNCTION__ << " for unknown session "
|
| - << web_session_id;
|
| - if (session)
|
| - session->OnSessionReady();
|
| + // Ready events not used by unprefixed EME.
|
| + // TODO(jrummell): Remove when prefixed EME removed.
|
| }
|
|
|
| void CdmSessionAdapter::OnSessionClosed(const std::string& web_session_id) {
|
| @@ -186,11 +183,8 @@ void CdmSessionAdapter::OnSessionError(
|
| media::MediaKeys::Exception exception_code,
|
| uint32 system_code,
|
| const std::string& error_message) {
|
| - WebContentDecryptionModuleSessionImpl* session = GetSession(web_session_id);
|
| - DLOG_IF(WARNING, !session) << __FUNCTION__ << " for unknown session "
|
| - << web_session_id;
|
| - if (session)
|
| - session->OnSessionError(exception_code, system_code, error_message);
|
| + // Error events not used by unprefixed EME.
|
| + // TODO(jrummell): Remove when prefixed EME removed.
|
| }
|
|
|
| WebContentDecryptionModuleSessionImpl* CdmSessionAdapter::GetSession(
|
|
|