1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

LibWeb: Remove unused BrowsingContext::for_each_child()

This commit is contained in:
Andreas Kling 2023-09-20 11:13:19 +02:00
parent 413cc1774e
commit f31b39ca18

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
{