diff options
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/HTMLCollection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/HTMLCollection.cpp b/Userland/Libraries/LibWeb/DOM/HTMLCollection.cpp index 098abb4924..106adb80b9 100644 --- a/Userland/Libraries/LibWeb/DOM/HTMLCollection.cpp +++ b/Userland/Libraries/LibWeb/DOM/HTMLCollection.cpp @@ -44,7 +44,7 @@ void HTMLCollection::visit_edges(Cell::Visitor& visitor) JS::MarkedVector<Element*> HTMLCollection::collect_matching_elements() const { JS::MarkedVector<Element*> elements(m_root->heap()); - m_root->for_each_in_inclusive_subtree_of_type<Element>([&](auto& element) { + m_root->for_each_in_subtree_of_type<Element>([&](auto& element) { if (m_filter(element)) elements.append(const_cast<Element*>(&element)); return IterationDecision::Continue; |