summaryrefslogtreecommitdiffstats
path: root/js/src/jsfriendapi.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-08 19:26:40 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:23 -0400
commit6bbc8d66646f49a1aa8a02765c1111bb3a92ee80 (patch)
treeb77ebf0048d8bddf12b51f8942bb38606f06ca2a /js/src/jsfriendapi.cpp
parent2d1d2cefbbaff4b0380bfbcdab4631a1dcf142af (diff)
downloadUXP-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.cpp2
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*)