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

Unified Diff: content/renderer/media/android/proxy_media_keys.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
Index: content/renderer/media/android/proxy_media_keys.cc
diff --git a/content/renderer/media/android/proxy_media_keys.cc b/content/renderer/media/android/proxy_media_keys.cc
index c2022e33dfdb147f8a53b9ac5de8f3f5b60d1d4d..433fdcc3f9fac20fd1c601bb033cbeb4073d02a6 100644
--- a/content/renderer/media/android/proxy_media_keys.cc
+++ b/content/renderer/media/android/proxy_media_keys.cc
@@ -32,7 +32,7 @@ ProxyMediaKeys::ProxyMediaKeys(
}
ProxyMediaKeys::~ProxyMediaKeys() {
- manager_->CancelAllPendingSessionCreations(media_keys_id_);
+ manager_->DestroyCdm(media_keys_id_);
}
void ProxyMediaKeys::InitializeCDM(const std::string& key_system,
« no previous file with comments | « content/common/media/media_player_messages_android.h ('k') | content/renderer/media/android/renderer_media_player_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698