mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
47b0761c9a
commit
a97ccff46a
@ -704,8 +704,6 @@ public:
|
||||
}
|
||||
|
||||
JSAutoCompartment ac(aCx, global);
|
||||
JS_SetGlobalObject(aCx, global);
|
||||
|
||||
return scriptloader::LoadWorkerScript(aCx);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user