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:
parent
af20b74a83
commit
4ee72420e8
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue