diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-08 19:26:40 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:23 -0400 |
commit | 6bbc8d66646f49a1aa8a02765c1111bb3a92ee80 (patch) | |
tree | b77ebf0048d8bddf12b51f8942bb38606f06ca2a /js/src/jsfriendapi.cpp | |
parent | 2d1d2cefbbaff4b0380bfbcdab4631a1dcf142af (diff) | |
download | UXP-6bbc8d66646f49a1aa8a02765c1111bb3a92ee80.tar UXP-6bbc8d66646f49a1aa8a02765c1111bb3a92ee80.tar.gz UXP-6bbc8d66646f49a1aa8a02765c1111bb3a92ee80.tar.lz UXP-6bbc8d66646f49a1aa8a02765c1111bb3a92ee80.tar.xz UXP-6bbc8d66646f49a1aa8a02765c1111bb3a92ee80.zip |
1320408 - Part 6: Change JSObject::splicePrototype to static method.
Diffstat (limited to 'js/src/jsfriendapi.cpp')
-rw-r--r-- | js/src/jsfriendapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsfriendapi.cpp b/js/src/jsfriendapi.cpp index 5baba0beb..f7622cb44 100644 --- a/js/src/jsfriendapi.cpp +++ b/js/src/jsfriendapi.cpp @@ -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*) |