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, |