mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
LibWeb: Implement Document::make_active()
Implementation of "make active" algorithm from the spec for Document. Co-authored-by: Andreas Kling <kling@serenityos.org>
This commit is contained in:
parent
32e2207b55
commit
3225c39191
4 changed files with 25 additions and 3 deletions
|
@ -256,9 +256,9 @@ void WindowProxy::visit_edges(JS::Cell::Visitor& visitor)
|
|||
visitor.visit(m_window.ptr());
|
||||
}
|
||||
|
||||
void WindowProxy::set_window(Badge<BrowsingContext>, JS::NonnullGCPtr<Window> window)
|
||||
void WindowProxy::set_window(JS::NonnullGCPtr<Window> window)
|
||||
{
|
||||
m_window = window;
|
||||
m_window = move(window);
|
||||
}
|
||||
|
||||
JS::NonnullGCPtr<BrowsingContext> WindowProxy::associated_browsing_context() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue