Index: Source/platform/drm/ContentDecryptionModuleSession.cpp |
diff --git a/Source/platform/drm/ContentDecryptionModuleSession.cpp b/Source/platform/drm/ContentDecryptionModuleSession.cpp |
index 04d7801cd4ff42ed5b6fc4b400e5c8c5eb7b5945..094d302ca04c988fa6fa64bd5ac6cfc56ad95263 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& response) |
@@ -65,9 +65,9 @@ void ContentDecryptionModuleSession::update(const Uint8Array& response) |
m_session->update(response.data(), response.length()); |
} |
-void ContentDecryptionModuleSession::close() |
+void ContentDecryptionModuleSession::release() |
{ |
- m_session->close(); |
+ m_session->release(); |
} |
void ContentDecryptionModuleSession::keyAdded() |