| Index: third_party/WebKit/Source/modules/time_zone_monitor/TimeZoneMonitorClient.cpp
|
| diff --git a/third_party/WebKit/Source/modules/time_zone_monitor/TimeZoneMonitorClient.cpp b/third_party/WebKit/Source/modules/time_zone_monitor/TimeZoneMonitorClient.cpp
|
| index b5704a7dbd4387822a800d6e9b3d15e17a685d3f..3aed25162224f22f12b9334c9691a09b587eb143 100644
|
| --- a/third_party/WebKit/Source/modules/time_zone_monitor/TimeZoneMonitorClient.cpp
|
| +++ b/third_party/WebKit/Source/modules/time_zone_monitor/TimeZoneMonitorClient.cpp
|
| @@ -9,6 +9,7 @@
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/workers/WorkerBackingThread.h"
|
| #include "core/workers/WorkerOrWorkletGlobalScope.h"
|
| +#include "core/workers/WorkerTaskRunners.h"
|
| #include "core/workers/WorkerThread.h"
|
| #include "platform/CrossThreadFunctional.h"
|
| #include "public/platform/Platform.h"
|
| @@ -70,9 +71,11 @@ void TimeZoneMonitorClient::OnTimeZoneChange(const String& time_zone_info) {
|
| // among multiple WorkerThreads.
|
| if (posted.Contains(&thread->GetWorkerBackingThread()))
|
| continue;
|
| - thread->PostTask(BLINK_FROM_HERE,
|
| - CrossThreadBind(&NotifyTimezoneChangeOnWorkerThread,
|
| - WTF::CrossThreadUnretained(thread)));
|
| + thread->GetWorkerTaskRunners()
|
| + ->Get(TaskType::kUnthrottled)
|
| + ->PostTask(BLINK_FROM_HERE,
|
| + CrossThreadBind(&NotifyTimezoneChangeOnWorkerThread,
|
| + WTF::CrossThreadUnretained(thread)));
|
| posted.insert(&thread->GetWorkerBackingThread());
|
| }
|
| }
|
|
|