| Index: third_party/WebKit/Source/core/timing/WorkerPerformance.cpp
|
| diff --git a/third_party/WebKit/Source/core/timing/WorkerPerformance.cpp b/third_party/WebKit/Source/core/timing/WorkerPerformance.cpp
|
| index d729e7eb95a41a1b77f9b644807907950dc827af..6634b1a34c5f34c8e1a786502ccd6fc402969e58 100644
|
| --- a/third_party/WebKit/Source/core/timing/WorkerPerformance.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/WorkerPerformance.cpp
|
| @@ -33,12 +33,18 @@
|
| #include "core/timing/MemoryInfo.h"
|
| #include "core/workers/DedicatedWorkerGlobalScope.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| +#include "public/platform/Platform.h"
|
| +#include "public/platform/WebScheduler.h"
|
| +#include "public/platform/WebThread.h"
|
| #include "wtf/CurrentTime.h"
|
|
|
| namespace blink {
|
|
|
| WorkerPerformance::WorkerPerformance(WorkerGlobalScope* context)
|
| - : PerformanceBase(context->timeOrigin()), m_executionContext(context) {}
|
| + : PerformanceBase(
|
| + context->timeOrigin(),
|
| + Platform::current()->currentThread()->scheduler()->timerTaskRunner()),
|
| + m_executionContext(context) {}
|
|
|
| DEFINE_TRACE(WorkerPerformance) {
|
| visitor->trace(m_executionContext);
|
|
|