mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-02 20:47:33 +09:00
1320408 - Part 6: Change JSObject::splicePrototype to static method.
This commit is contained in:
parent
6a21912a94
commit
a38594f890
5 changed files with 13 additions and 13 deletions
|
|
@ -113,7 +113,7 @@ JS_SplicePrototype(JSContext* cx, HandleObject obj, HandleObject proto)
|
|||
}
|
||||
|
||||
Rooted<TaggedProto> tagged(cx, TaggedProto(proto));
|
||||
return obj->splicePrototype(cx, obj->getClass(), tagged);
|
||||
return JSObject::splicePrototype(cx, obj, obj->getClass(), tagged);
|
||||
}
|
||||
|
||||
JS_FRIEND_API(JSObject*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue