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

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

Issue 107413006: Dismiss EME infobar when WebMediaPlayer is destroyed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make FakeProfile class happy Created 6 years, 11 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 ef93a2552fb99835f62b7a266d36078e3c759a99..85036b5bda9632e1b4861f146f814ed6dd390ad3 100644
--- a/content/renderer/media/android/proxy_media_keys.cc
+++ b/content/renderer/media/android/proxy_media_keys.cc
@@ -32,6 +32,7 @@ ProxyMediaKeys::ProxyMediaKeys(
}
ProxyMediaKeys::~ProxyMediaKeys() {
+ manager_->CancelAllPendingSessionCreations(media_keys_id_);
}
void ProxyMediaKeys::InitializeCDM(const std::string& key_system,
« no previous file with comments | « content/public/test/test_browser_context.cc ('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