summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/webcontentdecryptionmodule_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/media/webcontentdecryptionmodule_impl.cc')
-rw-r--r--content/renderer/media/webcontentdecryptionmodule_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/renderer/media/webcontentdecryptionmodule_impl.cc b/content/renderer/media/webcontentdecryptionmodule_impl.cc
index 14bbc8d..f98bf14 100644
--- a/content/renderer/media/webcontentdecryptionmodule_impl.cc
+++ b/content/renderer/media/webcontentdecryptionmodule_impl.cc
@@ -210,6 +210,10 @@ WebContentDecryptionModuleImpl::createSession(
return session;
}
+media::Decryptor* WebContentDecryptionModuleImpl::GetDecryptor() {
+ return media_keys_->GetDecryptor();
+}
+
void WebContentDecryptionModuleImpl::OnSessionClosed(uint32 session_id) {
adapter_->RemoveSession(session_id);
}