| 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 890202a3a1607bec4574325ca44ebadb009c925d..afdf569ae6f3e22c4708c000811ad79591c1f34a 100644
|
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
|
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
|
| @@ -29,6 +29,7 @@
|
| #include "core/dom/DOMArrayBufferView.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/dom/ExecutionContext.h"
|
| +#include "core/dom/TaskRunnerHelper.h"
|
| #include "core/events/MessageEvent.h"
|
| #include "core/fileapi/Blob.h"
|
| #include "modules/peerconnection/RTCPeerConnection.h"
|
| @@ -88,7 +89,10 @@ RTCDataChannel::RTCDataChannel(
|
| m_handler(std::move(handler)),
|
| m_readyState(ReadyStateConnecting),
|
| m_binaryType(BinaryTypeArrayBuffer),
|
| - m_scheduledEventTimer(this, &RTCDataChannel::scheduledEventTimerFired),
|
| + m_scheduledEventTimer(
|
| + TaskRunnerHelper::get(TaskType::Networking, context),
|
| + this,
|
| + &RTCDataChannel::scheduledEventTimerFired),
|
| m_bufferedAmountLowThreshold(0U),
|
| m_stopped(false) {
|
| m_handler->setClient(this);
|
|
|