mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 868130 - Make sure the new cx is stack-top in nsFrameMessageManager. r=gabor
This commit is contained in:
parent
fffaff5b13
commit
b8b8c5bd4d
@ -1111,8 +1111,9 @@ nsFrameScriptExecutor::InitTabChildGlobalInternal(nsISupports* aScope,
|
||||
runtimeSvc->GetRuntime(&rt);
|
||||
NS_ENSURE_TRUE(rt, false);
|
||||
|
||||
JSContext* cx = JS_NewContext(rt, 8192);
|
||||
NS_ENSURE_TRUE(cx, false);
|
||||
JSContext* cx_ = JS_NewContext(rt, 8192);
|
||||
NS_ENSURE_TRUE(cx_, false);
|
||||
AutoPushJSContext cx(cx_);
|
||||
|
||||
mCx = cx;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user