summaryrefslogtreecommitdiffstats
path: root/js/src/jsobj.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-08 19:30:53 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:24 -0400
commitfe20cd26491f8db4e7304d509a2639cfccf26c7e (patch)
tree09500529d6663a92424b6b55016fe49577273ddd /js/src/jsobj.h
parent549bab83d1d7fa7bb0a15f7852ccffc708d70ab0 (diff)
downloadUXP-fe20cd26491f8db4e7304d509a2639cfccf26c7e.tar
UXP-fe20cd26491f8db4e7304d509a2639cfccf26c7e.tar.gz
UXP-fe20cd26491f8db4e7304d509a2639cfccf26c7e.tar.lz
UXP-fe20cd26491f8db4e7304d509a2639cfccf26c7e.tar.xz
UXP-fe20cd26491f8db4e7304d509a2639cfccf26c7e.zip
1320408 - Part 8: Change JSObject::reportNotConfigurable and JSObject::reportNotExtensible to static method.
Diffstat (limited to 'js/src/jsobj.h')
-rw-r--r--js/src/jsobj.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/src/jsobj.h b/js/src/jsobj.h
index bdd08cf96..3eabf448a 100644
--- a/js/src/jsobj.h
+++ b/js/src/jsobj.h
@@ -520,8 +520,9 @@ class JSObject : public js::gc::Cell
public:
static bool reportReadOnly(JSContext* cx, jsid id, unsigned report = JSREPORT_ERROR);
- bool reportNotConfigurable(JSContext* cx, jsid id, unsigned report = JSREPORT_ERROR);
- bool reportNotExtensible(JSContext* cx, unsigned report = JSREPORT_ERROR);
+ static bool reportNotConfigurable(JSContext* cx, jsid id, unsigned report = JSREPORT_ERROR);
+ static bool reportNotExtensible(JSContext* cx, js::HandleObject obj,
+ unsigned report = JSREPORT_ERROR);
static bool nonNativeSetProperty(JSContext* cx, js::HandleObject obj, js::HandleId id,
js::HandleValue v, js::HandleValue receiver,