LibWeb: Remove unused BrowsingContext::for_each_child()

This commit is contained in:
Andreas Kling 2023-09-20 11:13:19 +02:00
commit f31b39ca18
Notes: sideshowbarker 2024-07-16 22:24:48 +09:00

View file

@ -81,20 +81,6 @@ public:
return IterationDecision::Continue;
}
template<typename Callback>
void for_each_child(Callback callback) const
{
for (auto node = first_child(); node; node = node->next_sibling())
callback(*node);
}
template<typename Callback>
void for_each_child(Callback callback)
{
for (auto node = first_child(); node; node = node->next_sibling())
callback(*node);
}
template<typename Callback>
IterationDecision for_each_in_subtree(Callback callback) const
{