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

Unified Diff: content/renderer/media/android/renderer_media_player_manager.cc

Issue 181593004: Encrypted Media: Destroy CDM in ProxyMediaKeys' dtor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 years, 10 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
« no previous file with comments | « content/renderer/media/android/renderer_media_player_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/renderer_media_player_manager.cc
diff --git a/content/renderer/media/android/renderer_media_player_manager.cc b/content/renderer/media/android/renderer_media_player_manager.cc
index 414135c203cc945e64c3f3a224a8b5c1c480adc0..0ff5883ee976a604c045c2f7cdb522254ffcda90 100644
--- a/content/renderer/media/android/renderer_media_player_manager.cc
+++ b/content/renderer/media/android/renderer_media_player_manager.cc
@@ -270,10 +270,8 @@ void RendererMediaPlayerManager::ReleaseSession(int media_keys_id,
routing_id(), media_keys_id, session_id));
}
-void RendererMediaPlayerManager::CancelAllPendingSessionCreations(
- int media_keys_id) {
- Send(new MediaKeysHostMsg_CancelAllPendingSessionCreations(
- routing_id(), media_keys_id));
+void RendererMediaPlayerManager::DestroyCdm(int media_keys_id) {
+ Send(new MediaKeysHostMsg_DestroyCdm(routing_id(), media_keys_id));
}
void RendererMediaPlayerManager::OnSessionCreated(
« no previous file with comments | « content/renderer/media/android/renderer_media_player_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698