summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/ProxyObject.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-06-17 03:12:41 +0300
committerAndreas Kling <kling@serenityos.org>2021-06-17 16:52:15 +0200
commitdcb55db99bcbf3855b0d7eadf79a0d9d356f4d2f (patch)
tree11e4b969d9081c2ca7654c23fb0743b7361aade7 /Userland/Libraries/LibJS/Runtime/ProxyObject.h
parent864beb0bd502c16544aae77c9b508c8bad69d002 (diff)
downloadserenity-dcb55db99bcbf3855b0d7eadf79a0d9d356f4d2f.zip
LibJS: Replace boolean without_side_effects parameters with an enum
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ProxyObject.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/ProxyObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ProxyObject.h b/Userland/Libraries/LibJS/Runtime/ProxyObject.h
index f540a429d7..f11a54f311 100644
--- a/Userland/Libraries/LibJS/Runtime/ProxyObject.h
+++ b/Userland/Libraries/LibJS/Runtime/ProxyObject.h
@@ -35,7 +35,7 @@ public:
virtual Optional<PropertyDescriptor> get_own_property_descriptor(const PropertyName&) const override;
virtual bool define_property(const StringOrSymbol& property_name, const Object& descriptor, bool throw_exceptions = true) override;
virtual bool has_property(const PropertyName& name) const override;
- virtual Value get(const PropertyName& name, Value receiver, bool without_side_effects = false) const override;
+ virtual Value get(const PropertyName& name, Value receiver, AllowSideEffects = AllowSideEffects::Yes) const override;
virtual bool put(const PropertyName& name, Value value, Value receiver) override;
virtual bool delete_property(const PropertyName& name) override;