| Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| index ec57adb2d1bcfa4d4735e132f89ff9e7728e7b3a..46f28d63894b5c71ca8646dadd8e09f176c96f14 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "core/dom/DOMArrayBuffer.h"
|
| #include "core/dom/DOMException.h"
|
| #include "core/dom/ExceptionCode.h"
|
| +#include "core/dom/TaskRunnerHelper.h"
|
| #include "core/events/Event.h"
|
| #include "core/events/GenericEventQueue.h"
|
| #include "modules/encryptedmedia/ContentDecryptionModuleResultPromise.h"
|
| @@ -374,7 +375,10 @@ MediaKeySession::MediaKeySession(ScriptState* scriptState,
|
| m_closedPromise(new ClosedPromise(scriptState->getExecutionContext(),
|
| this,
|
| ClosedPromise::Closed)),
|
| - m_actionTimer(this, &MediaKeySession::actionTimerFired) {
|
| + m_actionTimer(
|
| + TaskRunnerHelper::get(TaskType::MiscPlatformAPI, scriptState),
|
| + this,
|
| + &MediaKeySession::actionTimerFired) {
|
| DVLOG(MEDIA_KEY_SESSION_LOG_LEVEL) << __func__ << "(" << this << ")";
|
| InstanceCounters::incrementCounter(InstanceCounters::MediaKeySessionCounter);
|
|
|
|
|