mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibWeb: Add DeserializationMemory parameter to deserialization_steps()
We want to bring with us the value of DeserializationMemory to Serializable::deserialization_steps() when doing sub serialization.
This commit is contained in:
parent
4669c1ba31
commit
31f345fcb0
Notes:
sideshowbarker
2024-07-17 21:16:31 +09:00
Author: https://github.com/kennethmyhra
Commit: 31f345fcb0
Pull-request: https://github.com/SerenityOS/serenity/pull/23636
12 changed files with 12 additions and 12 deletions
|
@ -759,7 +759,7 @@ WebIDL::ExceptionOr<void> DOMMatrixReadOnly::serialization_steps(HTML::Serializa
|
|||
}
|
||||
|
||||
// https://drafts.fxtf.org/geometry/#structured-serialization
|
||||
WebIDL::ExceptionOr<void> DOMMatrixReadOnly::deserialization_steps(ReadonlySpan<u32> const& record, size_t& position)
|
||||
WebIDL::ExceptionOr<void> DOMMatrixReadOnly::deserialization_steps(ReadonlySpan<u32> const& record, size_t& position, HTML::DeserializationMemory&)
|
||||
{
|
||||
bool is_2d = HTML::deserialize_primitive_type<bool>(record, position);
|
||||
// 1. If serialized.[[Is2D]] is true:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue