diff --git a/Userland/Libraries/LibWeb/DOM/LiveNodeList.cpp b/Userland/Libraries/LibWeb/DOM/LiveNodeList.cpp index c1b0604607..544f3bc244 100644 --- a/Userland/Libraries/LibWeb/DOM/LiveNodeList.cpp +++ b/Userland/Libraries/LibWeb/DOM/LiveNodeList.cpp @@ -18,7 +18,7 @@ LiveNodeList::LiveNodeList(Node& root, Function filter) NonnullRefPtrVector LiveNodeList::collection() const { NonnullRefPtrVector nodes; - m_root->for_each_in_inclusive_subtree_of_type([&](auto& node) { + m_root->for_each_in_inclusive_subtree([&](auto& node) { if (m_filter(node)) nodes.append(node);