diff --git a/dom/workers/ServiceWorkerRegistration.cpp b/dom/workers/ServiceWorkerRegistration.cpp index a377655f0705..a29f392886d7 100644 --- a/dom/workers/ServiceWorkerRegistration.cpp +++ b/dom/workers/ServiceWorkerRegistration.cpp @@ -337,14 +337,6 @@ public: mPromiseProxy->CleanUp(aCx); return true; } - - void - PostDispatch(JSContext* aCx, WorkerPrivate* aWorkerPrivate, bool aSuccess) - { - if (!aSuccess) { - mStatus.SuppressException(); - } - } }; class WorkerThreadUpdateCallback final : public ServiceWorkerUpdateFinishCallback