diff --git a/dom/workers/ServiceWorkerManager.cpp b/dom/workers/ServiceWorkerManager.cpp index bff013760bb8..7b2b42d0b0b9 100644 --- a/dom/workers/ServiceWorkerManager.cpp +++ b/dom/workers/ServiceWorkerManager.cpp @@ -566,7 +566,6 @@ public: getter_AddRefs(serviceWorker)); if (NS_WARN_IF(NS_FAILED(rv))) { - swm->mSetOfScopesBeingUpdated.Remove(mRegistration->mScope); Fail(NS_ERROR_DOM_ABORT_ERR); return rv; } @@ -581,7 +580,6 @@ public: jsapi.Init(); bool ok = r->Dispatch(jsapi.cx()); if (NS_WARN_IF(!ok)) { - swm->mSetOfScopesBeingUpdated.Remove(mRegistration->mScope); Fail(NS_ERROR_DOM_ABORT_ERR); return rv; }