mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
LibWeb: Add NestedHistory in DocumentState
This commit is contained in:
parent
a0356a0302
commit
51d64bdaec
2 changed files with 15 additions and 1 deletions
|
@ -18,6 +18,11 @@ void DocumentState::visit_edges(Cell::Visitor& visitor)
|
|||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_document);
|
||||
for (auto& nested_history : m_nested_histories) {
|
||||
for (auto& entry : nested_history.entries) {
|
||||
visitor.visit(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue