mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
LibJS+LibWeb: Add missing visit calls in visit_edges implementations
This commit is contained in:
committed by
Andreas Kling
parent
a3344cab63
commit
39d8c8d2a9
Notes:
sideshowbarker
2024-07-17 08:59:18 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/39d8c8d2a9 Pull-request: https://github.com/SerenityOS/serenity/pull/17979 Reviewed-by: https://github.com/awesomekling
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user