summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Node.cpp5
-rw-r--r--Userland/Libraries/LibWeb/DOM/Node.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Node.cpp b/Userland/Libraries/LibWeb/DOM/Node.cpp
index 8a0b55a969..7e4e83c23f 100644
--- a/Userland/Libraries/LibWeb/DOM/Node.cpp
+++ b/Userland/Libraries/LibWeb/DOM/Node.cpp
@@ -1497,9 +1497,4 @@ bool Node::is_following(Node const& other) const
return false;
}
-HTML::Window& Node::window() const
-{
- return document().window();
-}
-
}
diff --git a/Userland/Libraries/LibWeb/DOM/Node.h b/Userland/Libraries/LibWeb/DOM/Node.h
index 16b627039b..cf2ad07a03 100644
--- a/Userland/Libraries/LibWeb/DOM/Node.h
+++ b/Userland/Libraries/LibWeb/DOM/Node.h
@@ -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;