mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:17:35 +00:00
LibWeb: Make TraversableNavigable store Page member as NonnullGCPtr
This commit is contained in:
parent
bf4c8f4a09
commit
fd7be22653
4 changed files with 14 additions and 13 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
JS::NonnullGCPtr<HTML::BrowsingContextGroup> browsing_context;
|
||||
JS::NonnullGCPtr<DOM::Document> document;
|
||||
};
|
||||
static WebIDL::ExceptionOr<BrowsingContextGroupAndDocument> create_a_new_browsing_context_group_and_document(Page&);
|
||||
static WebIDL::ExceptionOr<BrowsingContextGroupAndDocument> create_a_new_browsing_context_group_and_document(JS::NonnullGCPtr<Page>);
|
||||
|
||||
~BrowsingContextGroup();
|
||||
|
||||
|
@ -36,7 +36,7 @@ public:
|
|||
void append(BrowsingContext&);
|
||||
|
||||
private:
|
||||
explicit BrowsingContextGroup(Web::Page&);
|
||||
explicit BrowsingContextGroup(JS::NonnullGCPtr<Web::Page>);
|
||||
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue