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

Unified Diff: third_party/WebKit/Source/modules/mediasource/MediaSource.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/mediasource/MediaSource.cpp
diff --git a/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp b/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
index b954d85d5e04b93b834e0007852ffa65988531b0..dfc25b65805d50fb719e7ac46223e2f1ffaab149 100644
--- a/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
+++ b/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
@@ -734,7 +734,7 @@ bool MediaSource::hasPendingActivity() const {
m_asyncEventQueue->hasPendingEvents() || m_addedToRegistryCounter > 0;
}
-void MediaSource::stop() {
+void MediaSource::contextDestroyed() {
m_asyncEventQueue->close();
if (!isClosed())
setReadyState(closedKeyword());

Powered by Google App Engine
This is Rietveld 408576698