mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
LibWeb: Make BrowsingContextGroup store Page member as NonnullGCPtr
No need to use WeakPtr anymore.
This commit is contained in:
parent
289ea2db9c
commit
7c926d04b7
2 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ BrowsingContextGroup::~BrowsingContextGroup()
|
|||
void BrowsingContextGroup::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_page);
|
||||
for (auto& context : m_browsing_context_set)
|
||||
visitor.visit(context);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue