diff options
author | Linus Groh <mail@linusgroh.de> | 2021-09-29 17:53:57 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-09-29 23:49:53 +0100 |
commit | 0e69a6e487a3d00b329e01bd21b5acfce9070765 (patch) | |
tree | 27ef06bb0517cd2ffd1c34f6721fe593d2791899 /Userland/Libraries/LibJS/Runtime/ProxyObject.h | |
parent | 73bae7d779ebbf14eec603d8619f4d5247a6e69a (diff) | |
download | serenity-0e69a6e487a3d00b329e01bd21b5acfce9070765.zip |
LibJS: Convert internal_get_own_property() to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ProxyObject.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/ProxyObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ProxyObject.h b/Userland/Libraries/LibJS/Runtime/ProxyObject.h index aab0000d04..c410a15c39 100644 --- a/Userland/Libraries/LibJS/Runtime/ProxyObject.h +++ b/Userland/Libraries/LibJS/Runtime/ProxyObject.h @@ -39,7 +39,7 @@ public: virtual ThrowCompletionOr<bool> internal_set_prototype_of(Object* prototype) override; virtual ThrowCompletionOr<bool> internal_is_extensible() const override; virtual ThrowCompletionOr<bool> internal_prevent_extensions() override; - virtual Optional<PropertyDescriptor> internal_get_own_property(PropertyName const&) const override; + virtual ThrowCompletionOr<Optional<PropertyDescriptor>> internal_get_own_property(PropertyName const&) const override; virtual bool internal_define_own_property(PropertyName const&, PropertyDescriptor const&) override; virtual bool internal_has_property(PropertyName const&) const override; virtual Value internal_get(PropertyName const&, Value receiver) const override; |