From 7310d9e57bf33132a6a4f4116d0cd8d870db35e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20L=C3=A4nd?= Date: Fri, 20 Jan 2023 09:51:36 +0000 Subject: [PATCH] Bug 1351231, 1351231, 1351231, 1351231, 1351231: apply code formatting via Lando # ignore-this-changeset --- dom/fetch/FetchParent.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/dom/fetch/FetchParent.cpp b/dom/fetch/FetchParent.cpp index c667cb89d96d..3639e064d2ae 100644 --- a/dom/fetch/FetchParent.cpp +++ b/dom/fetch/FetchParent.cpp @@ -208,16 +208,15 @@ IPCResult FetchParent::RecvAbortFetchOp() { mIsDone = true; RefPtr self = this; - nsCOMPtr r = NS_NewRunnableFunction( - __func__, [self]() mutable { - FETCH_LOG(("FetchParent::RecvAbortFetchOp Runnable")); - AssertIsOnMainThread(); - if (self->mResponsePromises) { - RefPtr fetchService = FetchService::GetInstance(); - MOZ_ASSERT(fetchService); - fetchService->CancelFetch(std::move(self->mResponsePromises)); - } - }); + nsCOMPtr r = NS_NewRunnableFunction(__func__, [self]() mutable { + FETCH_LOG(("FetchParent::RecvAbortFetchOp Runnable")); + AssertIsOnMainThread(); + if (self->mResponsePromises) { + RefPtr fetchService = FetchService::GetInstance(); + MOZ_ASSERT(fetchService); + fetchService->CancelFetch(std::move(self->mResponsePromises)); + } + }); MOZ_ALWAYS_SUCCEEDS( SchedulerGroup::Dispatch(TaskCategory::Other, r.forget()));