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 b16a6cdb729746367a7dd353901a3c1600479c40..98a14b312b10af997f53c26d07a76878a665b785 100644 |
--- a/third_party/WebKit/Source/modules/time_zone_monitor/TimeZoneMonitorClient.cpp |
+++ b/third_party/WebKit/Source/modules/time_zone_monitor/TimeZoneMonitorClient.cpp |
@@ -7,6 +7,7 @@ |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8PerIsolateData.h" |
#include "core/dom/ExecutionContext.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/workers/WorkerBackingThread.h" |
#include "core/workers/WorkerOrWorkletGlobalScope.h" |
#include "core/workers/WorkerThread.h" |
@@ -70,9 +71,10 @@ void TimeZoneMonitorClient::OnTimeZoneChange(const String& timeZoneInfo) { |
// among multiple WorkerThreads. |
if (posted.contains(&thread->workerBackingThread())) |
continue; |
- thread->postTask(BLINK_FROM_HERE, |
- crossThreadBind(&NotifyTimezoneChangeOnWorkerThread, |
- WTF::crossThreadUnretained(thread))); |
+ TaskRunnerHelper::get(TaskType::Unthrottled, thread) |
+ ->postTask(BLINK_FROM_HERE, |
+ crossThreadBind(&NotifyTimezoneChangeOnWorkerThread, |
+ WTF::crossThreadUnretained(thread))); |
posted.insert(&thread->workerBackingThread()); |
} |
} |