diff --git a/Userland/Libraries/LibWeb/HTML/BrowsingContext.h b/Userland/Libraries/LibWeb/HTML/BrowsingContext.h
index bbff052cbe..2b2ba0daab 100644
--- a/Userland/Libraries/LibWeb/HTML/BrowsingContext.h
+++ b/Userland/Libraries/LibWeb/HTML/BrowsingContext.h
@@ -81,20 +81,6 @@ public:
return IterationDecision::Continue;
}
- template
- void for_each_child(Callback callback) const
- {
- for (auto node = first_child(); node; node = node->next_sibling())
- callback(*node);
- }
-
- template
- void for_each_child(Callback callback)
- {
- for (auto node = first_child(); node; node = node->next_sibling())
- callback(*node);
- }
-
template
IterationDecision for_each_in_subtree(Callback callback) const
{