LibWeb: Remove unused DOM::Node::window helper method

This was a crutch for the initial GC conversion that we can get rid of
thanks to moving web prototypes and constructors off of Window.
This commit is contained in:
Andrew Kaster 2022-09-25 18:57:44 -06:00 committed by Linus Groh
parent a1286f5120
commit 45838579c3
Notes: sideshowbarker 2024-07-17 06:27:41 +09:00
2 changed files with 0 additions and 7 deletions

View file

@ -1497,9 +1497,4 @@ bool Node::is_following(Node const& other) const
return false;
}
HTML::Window& Node::window() const
{
return document().window();
}
}

View file

@ -116,8 +116,6 @@ public:
Document& document() { return *m_document; }
Document const& document() const { return *m_document; }
HTML::Window& window() const;
JS::GCPtr<Document> owner_document() const;
const HTML::HTMLAnchorElement* enclosing_link_element() const;