1320408 - Part 6: Change JSObject::splicePrototype to static method.

This commit is contained in:
Gaming4JC 2019-06-08 19:26:40 -04:00 • committed by Roy Tam
commit a38594f890
5 changed files with 13 additions and 13 deletions

View file

@ -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*)