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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
index 63e90f28f6804646d8f8e4baf8b86e4bc3714968..40d3e7fa1d64910517529b7aa182df489d8c7f13 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
@@ -942,7 +942,7 @@ bool MediaKeySession::hasPendingActivity() const {
(m_mediaKeys && !m_isClosed);
}
-void MediaKeySession::stop() {
+void MediaKeySession::contextDestroyed() {
// Stop the CDM from firing any more events for this session.
m_session.reset();
m_isClosed = true;

Powered by Google App Engine
This is Rietveld 408576698