mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 12:17:34 +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
2 changed files with 0 additions and 7 deletions
|
@ -1497,9 +1497,4 @@ bool Node::is_following(Node const& other) const
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
HTML::Window& Node::window() const
|
|
||||||
{
|
|
||||||
return document().window();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -116,8 +116,6 @@ public:
|
||||||
Document& document() { return *m_document; }
|
Document& document() { return *m_document; }
|
||||||
Document const& document() const { return *m_document; }
|
Document const& document() const { return *m_document; }
|
||||||
|
|
||||||
HTML::Window& window() const;
|
|
||||||
|
|
||||||
JS::GCPtr<Document> owner_document() const;
|
JS::GCPtr<Document> owner_document() const;
|
||||||
|
|
||||||
const HTML::HTMLAnchorElement* enclosing_link_element() const;
|
const HTML::HTMLAnchorElement* enclosing_link_element() const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue