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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.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/peerconnection/RTCDataChannel.cpp
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
index e89c0e1781cf8b2f5fa388883e6645e694b4a170..033446a2de3e30f43ade524944f3f681a4893754 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
@@ -85,7 +85,7 @@ RTCDataChannel::RTCDataChannel(
ExecutionContext* context,
std::unique_ptr<WebRTCDataChannelHandler> handler)
: ActiveScriptWrappable(this),
- ActiveDOMObject(context),
+ SuspendableObject(context),
m_handler(std::move(handler)),
m_readyState(ReadyStateConnecting),
m_binaryType(BinaryTypeArrayBuffer),
@@ -296,10 +296,10 @@ const AtomicString& RTCDataChannel::interfaceName() const {
}
ExecutionContext* RTCDataChannel::getExecutionContext() const {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
-// ActiveDOMObject
+// SuspendableObject
void RTCDataChannel::suspend() {
m_scheduledEventTimer.stop();
}
@@ -375,7 +375,7 @@ void RTCDataChannel::scheduledEventTimerFired(TimerBase*) {
DEFINE_TRACE(RTCDataChannel) {
visitor->trace(m_scheduledEvents);
EventTargetWithInlineData::trace(visitor);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698