1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 12:15:07 +00:00

LibWeb: Rename "frame" to "browsing_context" in various places

We renamed the Frame class to BrowsingContext a while back, but forgot
to update some variable names.
This commit is contained in:
Andreas Kling 2022-02-06 14:41:29 +01:00
parent 5dd4b3eaaa
commit 41fe02e012
7 changed files with 82 additions and 82 deletions

View file

@ -27,10 +27,10 @@ void BrowsingContextContainer::inserted()
HTMLElement::inserted();
if (!is_connected())
return;
if (auto* frame = document().browsing_context()) {
VERIFY(frame->page());
m_nested_browsing_context = BrowsingContext::create_nested(*frame->page(), *this);
m_nested_browsing_context->set_frame_nesting_levels(frame->frame_nesting_levels());
if (auto* browsing_context = document().browsing_context()) {
VERIFY(browsing_context->page());
m_nested_browsing_context = BrowsingContext::create_nested(*browsing_context->page(), *this);
m_nested_browsing_context->set_frame_nesting_levels(browsing_context->frame_nesting_levels());
m_nested_browsing_context->register_frame_nesting(document().url());
}
}