mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Update top_level_browsing_context() to use navigables
This commit is contained in:
parent
fda420875d
commit
6942bdcfce
Notes:
sideshowbarker
2024-07-17 08:34:29 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 6942bdcfce
Pull-request: https://github.com/SerenityOS/serenity/pull/18219
9 changed files with 43 additions and 30 deletions
|
@ -64,7 +64,7 @@ WebIDL::ExceptionOr<void> NavigableContainer::create_new_child_navigable()
|
|||
|
||||
// 2. Let group be element's node document's browsing context's top-level browsing context's group.
|
||||
VERIFY(document().browsing_context());
|
||||
auto group = document().browsing_context()->top_level_browsing_context().group();
|
||||
auto group = document().browsing_context()->top_level_browsing_context()->group();
|
||||
VERIFY(group);
|
||||
|
||||
// 3. Let browsingContext and document be the result of creating a new browsing context and document given element's node document, element, and group.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue