mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
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:
parent
a1286f5120
commit
45838579c3
Notes:
sideshowbarker
2024-07-17 06:27:41 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/45838579c3 Pull-request: https://github.com/SerenityOS/serenity/pull/15349 Reviewed-by: https://github.com/linusg ✅
2 changed files with 0 additions and 7 deletions
|
@ -1497,9 +1497,4 @@ bool Node::is_following(Node const& other) const
|
|||
return false;
|
||||
}
|
||||
|
||||
HTML::Window& Node::window() const
|
||||
{
|
||||
return document().window();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue