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/builtin/Object.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/builtin/Object.cpp')
-rw-r--r-- | js/src/builtin/Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/Object.cpp b/js/src/builtin/Object.cpp index e4bee5457..a6dcab099 100644 --- a/js/src/builtin/Object.cpp +++ b/js/src/builtin/Object.cpp @@ -1409,7 +1409,7 @@ FinishObjectClassInit(JSContext* cx, JS::HandleObject ctor, JS::HandleObject pro */ Rooted<TaggedProto> tagged(cx, TaggedProto(proto)); if (global->shouldSplicePrototype(cx)) { - if (!global->splicePrototype(cx, global->getClass(), tagged)) + if (!JSObject::splicePrototype(cx, global, global->getClass(), tagged)) return false; } return true; |