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

Unified Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years 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/SourceBuffer.cpp
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
index 7a87c4a9ef9b840115a14ed9ee6f19542d41ed1e..f2edacaec5b6c028d2dc1f941fd6b8f1e47bdf84 100644
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp
@@ -117,7 +117,7 @@ SourceBuffer::SourceBuffer(std::unique_ptr<WebSourceBuffer> webSourceBuffer,
MediaSource* source,
GenericEventQueue* asyncEventQueue)
: ActiveScriptWrappable(this),
- ActiveDOMObject(source->getExecutionContext()),
+ SuspendableObject(source->getExecutionContext()),
m_webSourceBuffer(std::move(webSourceBuffer)),
m_source(source),
m_trackDefaults(TrackDefaultList::create()),
@@ -1047,7 +1047,7 @@ void SourceBuffer::contextDestroyed() {
}
ExecutionContext* SourceBuffer::getExecutionContext() const {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
const AtomicString& SourceBuffer::interfaceName() const {
@@ -1309,7 +1309,7 @@ DEFINE_TRACE(SourceBuffer) {
visitor->trace(m_audioTracks);
visitor->trace(m_videoTracks);
EventTargetWithInlineData::trace(visitor);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698