mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 06:32:26 +02:00
LibWeb: Make BrowsingContextGroup & TraversableNavigable return a Page&
Removing another batch of uneeded null checks :^)
This commit is contained in:
committed by
Andreas Kling
parent
88f8ea7c60
commit
0cb0d60ac5
@@ -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>);
|
||||
|
||||
Reference in New Issue
Block a user