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:
Shannon Booth 2024-11-23 19:24:57 +13:00 committed by Andreas Kling
parent 617b8eed75
commit 9724c67be2
Notes: github-actions[bot] 2024-11-23 15:44:57 +00:00
8 changed files with 8 additions and 8 deletions

View file

@ -87,7 +87,7 @@ bool NavigationDestination::same_document() const
WebIDL::ExceptionOr<JS::Value> NavigationDestination::get_state()
{
// The getState() method steps are to return StructuredDeserialize(this's state).
return structured_deserialize(vm(), m_state, realm(), {});
return structured_deserialize(vm(), m_state, realm());
}
}