зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1252185. Remove the dead "target" variable from CloseEventRunnable::WorkerRun. r=khuey
This commit is contained in:
Родитель
cd4aa08f02
Коммит
27c76101f3
|
@ -608,9 +608,6 @@ private:
|
|||
virtual bool
|
||||
WorkerRun(JSContext* aCx, WorkerPrivate* aWorkerPrivate) override
|
||||
{
|
||||
JS::Rooted<JSObject*> target(aCx, JS::CurrentGlobalOrNull(aCx));
|
||||
NS_ASSERTION(target, "This must never be null!");
|
||||
|
||||
aWorkerPrivate->CloseHandlerStarted();
|
||||
|
||||
WorkerGlobalScope* globalScope = aWorkerPrivate->GlobalScope();
|
||||
|
|
Загрузка…
Ссылка в новой задаче