mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +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:
parent
617b8eed75
commit
9724c67be2
Notes:
github-actions[bot]
2024-11-23 15:44:57 +00:00
Author: https://github.com/shannonbooth
Commit: 9724c67be2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2518
8 changed files with 8 additions and 8 deletions
|
@ -298,7 +298,7 @@ WebIDL::ExceptionOr<GC::Ref<UserTiming::PerformanceMeasure>> Performance::measur
|
|||
auto record = TRY(HTML::structured_serialize(vm, start_or_measure_options_dictionary_object->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. Otherwise, set it to null.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue