mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
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:
parent
924423c596
commit
4669c1ba31
Notes:
sideshowbarker
2024-07-16 22:14:49 +09:00
Author: https://github.com/kennethmyhra
Commit: 4669c1ba31
Pull-request: https://github.com/SerenityOS/serenity/pull/23636
12 changed files with 12 additions and 12 deletions
|
@ -51,7 +51,7 @@ void DOMRectReadOnly::initialize(JS::Realm& realm)
|
|||
}
|
||||
|
||||
// https://drafts.fxtf.org/geometry/#structured-serialization
|
||||
WebIDL::ExceptionOr<void> DOMRectReadOnly::serialization_steps(HTML::SerializationRecord& serialized, bool)
|
||||
WebIDL::ExceptionOr<void> DOMRectReadOnly::serialization_steps(HTML::SerializationRecord& serialized, bool, HTML::SerializationMemory&)
|
||||
{
|
||||
// 1. Set serialized.[[X]] to value’s x coordinate.
|
||||
HTML::serialize_primitive_type(serialized, this->x());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue