| Index: Source/platform/drm/ContentDecryptionModuleSession.cpp
|
| diff --git a/Source/platform/drm/ContentDecryptionModuleSession.cpp b/Source/platform/drm/ContentDecryptionModuleSession.cpp
|
| index 0882ffb429093f746f83f10079b9b79db0e6ed11..5f81f13dc62d0bca049638202fb78ab7125f2202 100644
|
| --- a/Source/platform/drm/ContentDecryptionModuleSession.cpp
|
| +++ b/Source/platform/drm/ContentDecryptionModuleSession.cpp
|
| @@ -55,9 +55,9 @@ String ContentDecryptionModuleSession::sessionId() const
|
| return m_session->sessionId();
|
| }
|
|
|
| -void ContentDecryptionModuleSession::generateKeyRequest(const String& mimeType, const Uint8Array& initData)
|
| +void ContentDecryptionModuleSession::initializeNewSession(const String& mimeType, const Uint8Array& initData)
|
| {
|
| - m_session->generateKeyRequest(mimeType, initData.data(), initData.length());
|
| + m_session->initializeNewSession(mimeType, initData.data(), initData.length());
|
| }
|
|
|
| void ContentDecryptionModuleSession::update(const Uint8Array& key)
|
| @@ -65,9 +65,9 @@ void ContentDecryptionModuleSession::update(const Uint8Array& key)
|
| m_session->update(key.data(), key.length());
|
| }
|
|
|
| -void ContentDecryptionModuleSession::close()
|
| +void ContentDecryptionModuleSession::release()
|
| {
|
| - m_session->close();
|
| + m_session->release();
|
| }
|
|
|
| void ContentDecryptionModuleSession::keyAdded()
|
|
|