diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-08 23:46:41 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:27 -0400 |
commit | 761b3afca59ba1c24337ff3afe0c91d005f7718b (patch) | |
tree | e4112b321901610e104693d386eeccdae92bc372 /js/src/vm/StringObject.h | |
parent | 08aee2f9d9948c9a4540706d40ea4abf01f452a5 (diff) | |
download | UXP-761b3afca59ba1c24337ff3afe0c91d005f7718b.tar UXP-761b3afca59ba1c24337ff3afe0c91d005f7718b.tar.gz UXP-761b3afca59ba1c24337ff3afe0c91d005f7718b.tar.lz UXP-761b3afca59ba1c24337ff3afe0c91d005f7718b.tar.xz UXP-761b3afca59ba1c24337ff3afe0c91d005f7718b.zip |
1320408 - Part 18: Change StringObject::init to static method.
Diffstat (limited to 'js/src/vm/StringObject.h')
-rw-r--r-- | js/src/vm/StringObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/StringObject.h b/js/src/vm/StringObject.h index 119e3d9fa..561e0478a 100644 --- a/js/src/vm/StringObject.h +++ b/js/src/vm/StringObject.h @@ -56,7 +56,7 @@ class StringObject : public NativeObject } private: - inline bool init(JSContext* cx, HandleString str); + static inline bool init(JSContext* cx, Handle<StringObject*> obj, HandleString str); void setStringThis(JSString* str) { MOZ_ASSERT(getReservedSlot(PRIMITIVE_VALUE_SLOT).isUndefined()); |