| Index: Source/core/workers/WorkerRunLoop.cpp
|
| diff --git a/Source/core/workers/WorkerRunLoop.cpp b/Source/core/workers/WorkerRunLoop.cpp
|
| index e17016b7f7d08143495b40791bfebaec98005af1..e618b8504543bcb2a28da23e18b996ae62153e5a 100644
|
| --- a/Source/core/workers/WorkerRunLoop.cpp
|
| +++ b/Source/core/workers/WorkerRunLoop.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "config.h"
|
| #include "core/workers/WorkerRunLoop.h"
|
|
|
| +#include "core/dom/Microtask.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| #include "core/workers/WorkerThread.h"
|
| @@ -57,6 +58,8 @@ public:
|
| WorkerGlobalScope* workerGlobalScope = m_runLoop.context();
|
| if ((!workerGlobalScope->isClosing() && !m_runLoop.terminated()) || m_task->isCleanupTask())
|
| m_task->performTask(workerGlobalScope);
|
| + if (!workerGlobalScope->isClosing() && !m_runLoop.terminated())
|
| + Microtask::performCheckpoint();
|
| }
|
|
|
| private:
|
|
|