|
@@ -11,21 +11,21 @@
|
|
namespace Web::HTML {
|
|
namespace Web::HTML {
|
|
|
|
|
|
// https://html.spec.whatwg.org/multipage/browsers.html#browsing-context-group-set
|
|
// https://html.spec.whatwg.org/multipage/browsers.html#browsing-context-group-set
|
|
-static HashTable<BrowsingContextGroup*>& user_agent_browsing_context_group_set()
|
|
|
|
|
|
+static HashTable<JS::NonnullGCPtr<BrowsingContextGroup>>& user_agent_browsing_context_group_set()
|
|
{
|
|
{
|
|
- static HashTable<BrowsingContextGroup*> set;
|
|
|
|
|
|
+ static HashTable<JS::NonnullGCPtr<BrowsingContextGroup>> set;
|
|
return set;
|
|
return set;
|
|
}
|
|
}
|
|
|
|
|
|
BrowsingContextGroup::BrowsingContextGroup(Web::Page& page)
|
|
BrowsingContextGroup::BrowsingContextGroup(Web::Page& page)
|
|
: m_page(page)
|
|
: m_page(page)
|
|
{
|
|
{
|
|
- user_agent_browsing_context_group_set().set(this);
|
|
|
|
|
|
+ user_agent_browsing_context_group_set().set(*this);
|
|
}
|
|
}
|
|
|
|
|
|
BrowsingContextGroup::~BrowsingContextGroup()
|
|
BrowsingContextGroup::~BrowsingContextGroup()
|
|
{
|
|
{
|
|
- user_agent_browsing_context_group_set().remove(this);
|
|
|
|
|
|
+ user_agent_browsing_context_group_set().remove(*this);
|
|
}
|
|
}
|
|
|
|
|
|
void BrowsingContextGroup::visit_edges(Cell::Visitor& visitor)
|
|
void BrowsingContextGroup::visit_edges(Cell::Visitor& visitor)
|