diff options
author | Linus Groh <mail@linusgroh.de> | 2022-02-09 10:06:40 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-02-09 12:25:27 +0000 |
commit | bc183dbbcb61b1e03196b82f8bad23a167f481a9 (patch) | |
tree | 055ce49a3139cfb0e21a0ce41601246bc8d79f65 /Userland/Libraries/LibJS/Runtime/Object.h | |
parent | 1d32ac7b8b8c18e5da4ba9fa7da47ea812bd99b4 (diff) | |
download | serenity-bc183dbbcb61b1e03196b82f8bad23a167f481a9.zip |
LibJS: Replace uses of MarkedValueList with MarkedVector<Value>
This is effectively a drop-in replacement.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Object.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Object.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Object.h b/Userland/Libraries/LibJS/Runtime/Object.h index dc47616525..75662d7236 100644 --- a/Userland/Libraries/LibJS/Runtime/Object.h +++ b/Userland/Libraries/LibJS/Runtime/Object.h @@ -12,9 +12,9 @@ #include <AK/String.h> #include <LibJS/Forward.h> #include <LibJS/Heap/Cell.h> +#include <LibJS/Heap/MarkedVector.h> #include <LibJS/Runtime/Completion.h> #include <LibJS/Runtime/IndexedProperties.h> -#include <LibJS/Runtime/MarkedValueList.h> #include <LibJS/Runtime/PrimitiveString.h> #include <LibJS/Runtime/PrivateEnvironment.h> #include <LibJS/Runtime/PropertyDescriptor.h> @@ -100,7 +100,7 @@ public: ThrowCompletionOr<bool> has_own_property(PropertyKey const&) const; ThrowCompletionOr<bool> set_integrity_level(IntegrityLevel); ThrowCompletionOr<bool> test_integrity_level(IntegrityLevel) const; - ThrowCompletionOr<MarkedValueList> enumerable_own_property_names(PropertyKind kind) const; + ThrowCompletionOr<MarkedVector<Value>> enumerable_own_property_names(PropertyKind kind) const; ThrowCompletionOr<Object*> copy_data_properties(Value source, HashTable<PropertyKey> const& seen_names, GlobalObject& global_object); PrivateElement* private_element_find(PrivateName const& name); @@ -122,7 +122,7 @@ public: virtual ThrowCompletionOr<Value> internal_get(PropertyKey const&, Value receiver) const; virtual ThrowCompletionOr<bool> internal_set(PropertyKey const&, Value value, Value receiver); virtual ThrowCompletionOr<bool> internal_delete(PropertyKey const&); - virtual ThrowCompletionOr<MarkedValueList> internal_own_property_keys() const; + virtual ThrowCompletionOr<MarkedVector<Value>> internal_own_property_keys() const; ThrowCompletionOr<bool> ordinary_set_with_own_descriptor(PropertyKey const&, Value, Value, Optional<PropertyDescriptor>); |