From 4998d9ed28da2575b59816deb44c3e6c16d49341 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Thu, 25 Nov 2021 01:16:36 +0000 Subject: [PATCH] Bug 1742469 - Part 7: Resolve bugprone-argument-comment warnings r=smaug Differential Revision: https://phabricator.services.mozilla.com/D131935 --- dom/workers/WorkerPrivate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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!"); }