From f31b39ca18a1b0c4bc2c47a67c0c30cd762cd6bc Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 20 Sep 2023 11:13:19 +0200 Subject: [PATCH] LibWeb: Remove unused BrowsingContext::for_each_child() --- Userland/Libraries/LibWeb/HTML/BrowsingContext.h | 14 -------------- 1 file changed, 14 deletions(-) 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 {