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 /Meta | |
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 'Meta')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp index b76e6b06b9..6005e2d0b4 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp @@ -2218,7 +2218,7 @@ public: virtual JS::ThrowCompletionOr<bool> internal_define_own_property(JS::PropertyKey const&, JS::PropertyDescriptor const&) override; virtual JS::ThrowCompletionOr<bool> internal_delete(JS::PropertyKey const&) override; virtual JS::ThrowCompletionOr<bool> internal_prevent_extensions() override; - virtual JS::ThrowCompletionOr<JS::MarkedValueList> internal_own_property_keys() const override; + virtual JS::ThrowCompletionOr<JS::MarkedVector<JS::Value>> internal_own_property_keys() const override; )~~~"); } @@ -3053,12 +3053,12 @@ JS::ThrowCompletionOr<bool> @class_name@::internal_prevent_extensions() // 3.9.6. [[OwnPropertyKeys]], https://webidl.spec.whatwg.org/#legacy-platform-object-ownpropertykeys scoped_generator.append(R"~~~( -JS::ThrowCompletionOr<JS::MarkedValueList> @class_name@::internal_own_property_keys() const +JS::ThrowCompletionOr<JS::MarkedVector<JS::Value>> @class_name@::internal_own_property_keys() const { auto& vm = this->vm(); // 1. Let keys be a new empty list of ECMAScript String and Symbol values. - JS::MarkedValueList keys { heap() }; + JS::MarkedVector<JS::Value> keys { heap() }; )~~~"); |