mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1173344 - Remove an intermediary root from nsXBLProtoImplField's FieldGetterImpl; r=jandem
--HG-- extra : commitid : 9A0bnmsSNog
This commit is contained in:
parent
3ab49d883d
commit
fe465275e2
@ -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