mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
LibWeb: Default initialize StructuredDeserialize memory argument
This is optional in the spec, so let's make it actually optional at the call site.
This commit is contained in:
committed by
Andreas Kling
parent
617b8eed75
commit
9724c67be2
@@ -86,7 +86,7 @@ WebIDL::ExceptionOr<GC::Ref<PerformanceMark>> PerformanceMark::construct_impl(JS
|
||||
auto record = TRY(HTML::structured_serialize(vm, mark_options.detail));
|
||||
|
||||
// 2. Set entry's detail to the result of calling the StructuredDeserialize algorithm on record and the current realm.
|
||||
detail = TRY(HTML::structured_deserialize(vm, record, realm, Optional<HTML::DeserializationMemory> {}));
|
||||
detail = TRY(HTML::structured_deserialize(vm, record, realm));
|
||||
}
|
||||
|
||||
// 2. Create a new PerformanceMark object (entry) with the current global object's realm.
|
||||
|
||||
Reference in New Issue
Block a user