| 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
|
|
|