1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

LibWeb: Make BrowsingContextGroup store Page member as NonnullGCPtr

No need to use WeakPtr anymore.
This commit is contained in:
Andreas Kling 2023-06-26 06:56:54 +02:00
parent 289ea2db9c
commit 7c926d04b7
2 changed files with 2 additions and 1 deletions

View file

@ -43,7 +43,7 @@ private:
// https://html.spec.whatwg.org/multipage/browsers.html#browsing-context-group-set
OrderedHashTable<JS::NonnullGCPtr<BrowsingContext>> m_browsing_context_set;
WeakPtr<Page> m_page;
JS::NonnullGCPtr<Page> m_page;
};
}