mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1173344 - Remove an intermediary root from nsXBLProtoImplField's FieldGetterImpl; r=jandem
This commit is contained in:
parent
f676f86358
commit
53af35efa2
@ -245,12 +245,7 @@ FieldGetterImpl(JSContext *cx, JS::CallArgs args)
|
||||
return true;
|
||||
}
|
||||
|
||||
JS::Rooted<JS::Value> v(cx);
|
||||
if (!JS_GetPropertyById(cx, thisObj, id, &v)) {
|
||||
return false;
|
||||
}
|
||||
args.rval().set(v);
|
||||
return true;
|
||||
return JS_GetPropertyById(cx, thisObj, id, args.rval());
|
||||
}
|
||||
|
||||
static bool
|
||||
|
Loading…
Reference in New Issue
Block a user