From 27c76101f3b9fac12f45caa9d3c8af9c3efeb2cc Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 29 Feb 2016 14:52:43 -0500 Subject: [PATCH] Bug 1252185. Remove the dead "target" variable from CloseEventRunnable::WorkerRun. r=khuey --- dom/workers/WorkerPrivate.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/dom/workers/WorkerPrivate.cpp b/dom/workers/WorkerPrivate.cpp index 3a5f179f3490..25fbc0f3e816 100644 --- a/dom/workers/WorkerPrivate.cpp +++ b/dom/workers/WorkerPrivate.cpp @@ -608,9 +608,6 @@ private: virtual bool WorkerRun(JSContext* aCx, WorkerPrivate* aWorkerPrivate) override { - JS::Rooted target(aCx, JS::CurrentGlobalOrNull(aCx)); - NS_ASSERTION(target, "This must never be null!"); - aWorkerPrivate->CloseHandlerStarted(); WorkerGlobalScope* globalScope = aWorkerPrivate->GlobalScope();