Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
index 4cd5eeb92b609324836cd73232175f96797d026a..9352df5bf8f27f445297ec1821543c8b9d5b0863 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
@@ -317,8 +317,7 @@ WorkerGlobalScope::WorkerGlobalScope( |
closing_(false), |
event_queue_(WorkerEventQueue::Create(this)), |
worker_clients_(worker_clients), |
- timers_( |
- Platform::Current()->CurrentThread()->Scheduler()->TimerTaskRunner()), |
+ timers_(TaskRunnerHelper::Get(TaskType::kTimer, this)), |
time_origin_(time_origin), |
last_pending_error_event_id_(0) { |
InstanceCounters::IncrementCounter( |