mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
LibJS+LibWeb: Add missing visit calls in visit_edges implementations
This commit is contained in:
parent
a3344cab63
commit
39d8c8d2a9
8 changed files with 49 additions and 25 deletions
|
@ -22,7 +22,14 @@ void Request::visit_edges(JS::Cell::Visitor& visitor)
|
|||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_header_list);
|
||||
for (auto pending_response : m_pending_responses)
|
||||
visitor.visit(m_client);
|
||||
m_reserved_client.visit(
|
||||
[&](JS::GCPtr<HTML::EnvironmentSettingsObject> const& value) { visitor.visit(value); },
|
||||
[](auto const&) {});
|
||||
m_window.visit(
|
||||
[&](JS::GCPtr<HTML::EnvironmentSettingsObject> const& value) { visitor.visit(value); },
|
||||
[](auto const&) {});
|
||||
for (auto const& pending_response : m_pending_responses)
|
||||
visitor.visit(pending_response);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue