diff --git a/dom/workers/WorkerPrivate.cpp b/dom/workers/WorkerPrivate.cpp index f70ea87f1cec..f2271b7f3450 100644 --- a/dom/workers/WorkerPrivate.cpp +++ b/dom/workers/WorkerPrivate.cpp @@ -1942,7 +1942,7 @@ void WorkerPrivate::GarbageCollect(bool aShrinking) { AssertIsOnParentThread(); RefPtr runnable = new GarbageCollectRunnable( - this, aShrinking, /* collectChildren = */ true); + this, aShrinking, /* aCollectChildren = */ true); if (!runnable->Dispatch()) { NS_WARNING("Failed to GC worker!"); } @@ -1952,7 +1952,7 @@ void WorkerPrivate::CycleCollect() { AssertIsOnParentThread(); RefPtr runnable = - new CycleCollectRunnable(this, /* collectChildren = */ true); + new CycleCollectRunnable(this, /* aCollectChildren = */ true); if (!runnable->Dispatch()) { NS_WARNING("Failed to CC worker!"); }