Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1210)

Unified Diff: content/renderer/media/cdm_session_adapter.cc

Issue 380953002: Set callback interface on WebCDMSessionImpl after creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + change Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e4c97e313e1344ce6be8ec443ec48738265cba0c..9a84d544c9820abc929dad372dbb02ff74b09bdb 100644
--- a/content/renderer/media/cdm_session_adapter.cc
+++ b/content/renderer/media/cdm_session_adapter.cc
@@ -51,9 +51,8 @@ bool CdmSessionAdapter::Initialize(
return media_keys_;
}
-WebContentDecryptionModuleSessionImpl* CdmSessionAdapter::CreateSession(
- blink::WebContentDecryptionModuleSession::Client* client) {
- return new WebContentDecryptionModuleSessionImpl(client, this);
+WebContentDecryptionModuleSessionImpl* CdmSessionAdapter::CreateSession() {
+ return new WebContentDecryptionModuleSessionImpl(this);
}
bool CdmSessionAdapter::RegisterSession(
« no previous file with comments | « content/renderer/media/cdm_session_adapter.h ('k') | content/renderer/media/webcontentdecryptionmodule_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698