diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-08 19:30:53 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:24 -0400 |
commit | fe20cd26491f8db4e7304d509a2639cfccf26c7e (patch) | |
tree | 09500529d6663a92424b6b55016fe49577273ddd /js/src/jsobj.h | |
parent | 549bab83d1d7fa7bb0a15f7852ccffc708d70ab0 (diff) | |
download | UXP-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.h | 5 |
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, |