mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 978042 - Part 4: AutoPushJSContext in FileRequest::NotifyHelperCompleted. r=bholley
This commit is contained in:
parent
45cde4b66a
commit
b10f79c5e4
@ -71,7 +71,7 @@ FileRequest::NotifyHelperCompleted(FileHelper* aFileHelper)
|
||||
nsIScriptContext* sc = GetContextForEventHandlers(&rv);
|
||||
NS_ENSURE_STATE(sc);
|
||||
|
||||
AutoPushJSContext cx(sc->GetNativeContext());
|
||||
AutoJSContext cx;
|
||||
NS_ASSERTION(cx, "Failed to get a context!");
|
||||
|
||||
JS::Rooted<JS::Value> result(cx);
|
||||
|
Loading…
Reference in New Issue
Block a user