1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +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

@ -35,7 +35,7 @@ private:
virtual void visit_edges(Cell::Visitor&) override;
// https://html.spec.whatwg.org/multipage/browsers.html#browsing-context-group-set
OrderedHashTable<JS::GCPtr<BrowsingContext>> m_browsing_context_set;
OrderedHashTable<JS::NonnullGCPtr<BrowsingContext>> m_browsing_context_set;
WeakPtr<Page> m_page;
};