From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- dom/webscheduling/WebTaskSchedulerWorker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dom/webscheduling') diff --git a/dom/webscheduling/WebTaskSchedulerWorker.cpp b/dom/webscheduling/WebTaskSchedulerWorker.cpp index fea65c65db..6ab2337b70 100644 --- a/dom/webscheduling/WebTaskSchedulerWorker.cpp +++ b/dom/webscheduling/WebTaskSchedulerWorker.cpp @@ -12,7 +12,7 @@ namespace mozilla::dom { WebTaskWorkerRunnable::WebTaskWorkerRunnable( WorkerPrivate* aWorkerPrivate, WebTaskSchedulerWorker* aSchedulerWorker) - : WorkerSameThreadRunnable(aWorkerPrivate, "WebTaskWorkerRunnable"), + : WorkerSameThreadRunnable("WebTaskWorkerRunnable"), mSchedulerWorker(aSchedulerWorker) { MOZ_ASSERT(mSchedulerWorker); } @@ -60,7 +60,7 @@ bool WebTaskSchedulerWorker::DispatchEventLoopRunnable() { } RefPtr runnable = new WebTaskWorkerRunnable(mWorkerPrivate, this); - return runnable->Dispatch(); + return runnable->Dispatch(mWorkerPrivate); } void WebTaskSchedulerWorker::Disconnect() { -- cgit v1.2.3