mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +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
|
@ -949,7 +949,7 @@ public:
|
|||
else {
|
||||
// 1. Perform the appropriate deserialization steps for the interface identified by serialized.[[Type]], given serialized, value, and targetRealm.
|
||||
auto& serializable = dynamic_cast<Bindings::Serializable&>(value.as_object());
|
||||
TRY(serializable.deserialization_steps(m_serialized, m_position));
|
||||
TRY(serializable.deserialization_steps(m_serialized, m_position, m_memory));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue