diff options
author | Luke Wilde <lukew@serenityos.org> | 2021-09-24 19:39:01 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-26 18:59:56 +0200 |
commit | e06762f312676695da5a17e86708c234204a382b (patch) | |
tree | de9349f58525dfd23187ce4ea5b11c8616b52659 /Userland/Libraries/LibJS/Runtime/Object.h | |
parent | 27dfd0170ed67896bb0dcf18a60bfab36a05f680 (diff) | |
download | serenity-e06762f312676695da5a17e86708c234204a382b.zip |
LibJS: Make Object::ordinary_set_with_own_descriptor non-static
This needs to be accessible for implementing IDL legacy platform
objects.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Object.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Object.h b/Userland/Libraries/LibJS/Runtime/Object.h index 350876dfc6..133a706303 100644 --- a/Userland/Libraries/LibJS/Runtime/Object.h +++ b/Userland/Libraries/LibJS/Runtime/Object.h @@ -102,6 +102,8 @@ public: virtual bool internal_delete(PropertyName const&); virtual MarkedValueList internal_own_property_keys() const; + bool ordinary_set_with_own_descriptor(PropertyName const&, Value, Value, Optional<PropertyDescriptor>); + // 10.4.7 Immutable Prototype Exotic Objects, https://tc39.es/ecma262/#sec-immutable-prototype-exotic-objects bool set_immutable_prototype(Object* prototype); |