LibWeb: Add SerializationMemory parameter to serialization_steps()

We want to bring with us the value of SerializationMemory to
Serializable::serialization_steps() when doing sub serialization.
This commit is contained in:
Kenneth Myhra
2024-03-10 19:13:45 +01:00
committed by Andreas Kling
parent 924423c596
commit 4669c1ba31
12 changed files with 12 additions and 12 deletions

View File

@@ -87,7 +87,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<File>> File::construct_impl(JS::Realm& real
return create(realm, file_bits, file_name, options);
}
WebIDL::ExceptionOr<void> File::serialization_steps(HTML::SerializationRecord& record, bool)
WebIDL::ExceptionOr<void> File::serialization_steps(HTML::SerializationRecord& record, bool, HTML::SerializationMemory&)
{
auto& vm = this->vm();