зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1704887 - Discard results of RemoveElement for DelayedRunnable r=necko-reviewers,xpcom-reviewers,mccr8,valentin
This silences a lint error on the previous patches in the series. Differential Revision: https://phabricator.services.mozilla.com/D113160
This commit is contained in:
Родитель
a8ff610593
Коммит
aa02bb3f95
|
@ -283,7 +283,7 @@ void nsStreamTransportService::OnDelayedRunnableRan(
|
|||
DelayedRunnable* aRunnable) {
|
||||
MOZ_ASSERT(IsOnCurrentThread());
|
||||
auto delayedRunnables = mScheduledDelayedRunnables.Lock();
|
||||
delayedRunnables->RemoveElement(aRunnable);
|
||||
Unused << delayedRunnables->RemoveElement(aRunnable);
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsStreamTransportService, nsIStreamTransportService,
|
||||
|
|
|
@ -121,7 +121,7 @@ void TaskQueue::OnDelayedRunnableScheduled(DelayedRunnable* aRunnable) {
|
|||
|
||||
void TaskQueue::OnDelayedRunnableRan(DelayedRunnable* aRunnable) {
|
||||
MOZ_ASSERT(IsOnCurrentThread());
|
||||
mScheduledDelayedRunnables.RemoveElement(aRunnable);
|
||||
Unused << mScheduledDelayedRunnables.RemoveElement(aRunnable);
|
||||
}
|
||||
|
||||
auto TaskQueue::CancelDelayedRunnables() -> RefPtr<CancelPromise> {
|
||||
|
|
|
@ -151,7 +151,7 @@ void ThreadEventTarget::OnDelayedRunnableScheduled(DelayedRunnable* aRunnable) {
|
|||
|
||||
void ThreadEventTarget::OnDelayedRunnableRan(DelayedRunnable* aRunnable) {
|
||||
MOZ_ASSERT(IsOnCurrentThread());
|
||||
mScheduledDelayedRunnables.RemoveElement(aRunnable);
|
||||
Unused << mScheduledDelayedRunnables.RemoveElement(aRunnable);
|
||||
}
|
||||
|
||||
void ThreadEventTarget::NotifyShutdown() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче