1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

LibWeb/HTML: Store NonnullGCPtr in browsing context set

These are never supposed to be null.
This commit is contained in:
Linus Groh 2023-04-20 16:44:54 +01:00
parent af20b74a83
commit 4ee72420e8
3 changed files with 4 additions and 4 deletions

View file

@ -58,7 +58,7 @@ void BrowsingContextGroup::append(BrowsingContext& browsing_context)
VERIFY(browsing_context.is_top_level());
// 1. Append browsingContext to group's browsing context set.
m_browsing_context_set.set(&browsing_context);
m_browsing_context_set.set(browsing_context);
// 2. Set browsingContext's group to group.
browsing_context.set_group(this);