mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:37:45 +00:00
LibWeb: Make BrowsingContextGroup & TraversableNavigable return a Page&
Removing another batch of uneeded null checks :^)
This commit is contained in:
parent
88f8ea7c60
commit
0cb0d60ac5
8 changed files with 13 additions and 16 deletions
|
@ -63,8 +63,8 @@ public:
|
|||
m_session_history_traversal_queue.process();
|
||||
}
|
||||
|
||||
Page* page() { return m_page; }
|
||||
Page const* page() const { return m_page; }
|
||||
Page& page() { return m_page; }
|
||||
Page const& page() const { return m_page; }
|
||||
|
||||
private:
|
||||
TraversableNavigable(JS::NonnullGCPtr<Page>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue