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:
Kenneth Myhra
2024-03-10 19:48:33 +01:00
committed by Andreas Kling
parent 4669c1ba31
commit 31f345fcb0
12 changed files with 12 additions and 12 deletions

View File

@@ -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));
}
}