Bug 869800 - Stop using calling JS_SetGlobalObject in workers. r=bent

This makes workers the first consumer to be weaned off this API. \o/
This commit is contained in:
Bobby Holley 2013-05-08 10:45:46 -07:00
parent 47b0761c9a
commit a97ccff46a

View File

@ -704,8 +704,6 @@ public:
}
JSAutoCompartment ac(aCx, global);
JS_SetGlobalObject(aCx, global);
return scriptloader::LoadWorkerScript(aCx);
}
};