summaryrefslogtreecommitdiffstats
path: root/js/src/builtin
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-08 19:28:18 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:23 -0400
commit549bab83d1d7fa7bb0a15f7852ccffc708d70ab0 (patch)
treeeb0867176e167abf8dcf2efdad91fa52522f556f /js/src/builtin
parent6bbc8d66646f49a1aa8a02765c1111bb3a92ee80 (diff)
downloadUXP-549bab83d1d7fa7bb0a15f7852ccffc708d70ab0.tar
UXP-549bab83d1d7fa7bb0a15f7852ccffc708d70ab0.tar.gz
UXP-549bab83d1d7fa7bb0a15f7852ccffc708d70ab0.tar.lz
UXP-549bab83d1d7fa7bb0a15f7852ccffc708d70ab0.tar.xz
UXP-549bab83d1d7fa7bb0a15f7852ccffc708d70ab0.zip
1320408 - Part 7: Remove JSContext* parameter from JSObject::shouldSplicePrototype.
Diffstat (limited to 'js/src/builtin')
-rw-r--r--js/src/builtin/Object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/Object.cpp b/js/src/builtin/Object.cpp
index a6dcab099..56c77f304 100644
--- a/js/src/builtin/Object.cpp
+++ b/js/src/builtin/Object.cpp
@@ -1408,7 +1408,7 @@ FinishObjectClassInit(JSContext* cx, JS::HandleObject ctor, JS::HandleObject pro
* only set the [[Prototype]] if it hasn't already been set.
*/
Rooted<TaggedProto> tagged(cx, TaggedProto(proto));
- if (global->shouldSplicePrototype(cx)) {
+ if (global->shouldSplicePrototype()) {
if (!JSObject::splicePrototype(cx, global, global->getClass(), tagged))
return false;
}