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

LibWeb: Remove BrowsingContext::create_a_new_top_level_browsing_context

This call has been replaced by
`create_a_new_top_level_browsing_context_and_document`
after specification was refactored to use navigables.
This commit is contained in:
Aliaksandr Kalenik 2023-09-03 21:46:36 +02:00 committed by Andreas Kling
parent b90dd9d1f8
commit 7daa462ef8
5 changed files with 10 additions and 20 deletions

View file

@ -39,7 +39,6 @@ class BrowsingContext final
public:
static JS::NonnullGCPtr<BrowsingContext> create_a_new_browsing_context(Page&, JS::GCPtr<DOM::Document> creator, JS::GCPtr<DOM::Element> embedder, BrowsingContextGroup&);
static JS::NonnullGCPtr<BrowsingContext> create_a_new_top_level_browsing_context(Page&);
struct BrowsingContextAndDocument {
JS::NonnullGCPtr<BrowsingContext> browsing_context;