From e06762f312676695da5a17e86708c234204a382b Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Fri, 24 Sep 2021 19:39:01 +0100 Subject: LibJS: Make Object::ordinary_set_with_own_descriptor non-static This needs to be accessible for implementing IDL legacy platform objects. --- Userland/Libraries/LibJS/Runtime/Object.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Userland/Libraries/LibJS/Runtime/Object.h') 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); + // 10.4.7 Immutable Prototype Exotic Objects, https://tc39.es/ecma262/#sec-immutable-prototype-exotic-objects bool set_immutable_prototype(Object* prototype); -- cgit v1.2.3