mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 875790 - Revert AutoPushJSContext change in nsJSContext::CompileScript due to crashes. r=bholley
This commit is contained in:
parent
0f6e4cb9d0
commit
ee81a84ae6
@ -1319,7 +1319,8 @@ nsJSContext::CompileScript(const PRUnichar* aText,
|
|||||||
|
|
||||||
NS_ENSURE_ARG_POINTER(aPrincipal);
|
NS_ENSURE_ARG_POINTER(aPrincipal);
|
||||||
|
|
||||||
AutoPushJSContext cx(mContext);
|
JSContext* cx = mContext;
|
||||||
|
JSAutoRequest ar(cx);
|
||||||
JS::Rooted<JSObject*> scopeObject(mContext, GetNativeGlobal());
|
JS::Rooted<JSObject*> scopeObject(mContext, GetNativeGlobal());
|
||||||
xpc_UnmarkGrayObject(scopeObject);
|
xpc_UnmarkGrayObject(scopeObject);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user