mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout cd9d6b4fb8c3 for mochitest failures.
With this, just incase there is a CLOSED TREE.
This commit is contained in:
parent
24c2f52d3f
commit
c3e403d73c
@ -779,9 +779,8 @@ nsScriptLoader::AttemptAsyncScriptParse(nsScriptLoadRequest* aRequest)
|
||||
if (!context) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
JSContext *scriptCx = context->GetNativeContext();
|
||||
JS::Rooted<JSObject*> global(scriptCx, unrootedGlobal);
|
||||
AutoPushJSContext cx(scriptCx);
|
||||
AutoPushJSContext cx(context->GetNativeContext());
|
||||
JS::Rooted<JSObject*> global(cx, unrootedGlobal);
|
||||
|
||||
JS::CompileOptions options(cx);
|
||||
FillCompileOptionsForRequest(aRequest, global, &options);
|
||||
|
Loading…
Reference in New Issue
Block a user