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

Unified Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.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/mediarecorder/MediaRecorder.cpp
diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
index e2008102ed73e5b4d7c7278310256e616e3ec727..a3ca3de080ccad1628373f0f8e50e714835be3f0 100644
--- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
+++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp
@@ -161,7 +161,7 @@ MediaRecorder::MediaRecorder(ExecutionContext* context,
const MediaRecorderOptions& options,
ExceptionState& exceptionState)
: ActiveScriptWrappable(this),
- ActiveDOMObject(context),
+ SuspendableObject(context),
m_stream(stream),
m_streamAmountOfTracks(stream->getTracks().size()),
m_mimeType(options.hasMimeType() ? options.mimeType() : kDefaultMimeType),
@@ -304,7 +304,7 @@ const AtomicString& MediaRecorder::interfaceName() const {
}
ExecutionContext* MediaRecorder::getExecutionContext() const {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
void MediaRecorder::suspend() {
@@ -396,7 +396,7 @@ DEFINE_TRACE(MediaRecorder) {
visitor->trace(m_dispatchScheduledEventRunner);
visitor->trace(m_scheduledEvents);
EventTargetWithInlineData::trace(visitor);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698