diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/LiveNodeList.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/LiveNodeList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<bool(Node const&)> filter) NonnullRefPtrVector<Node> LiveNodeList::collection() const { NonnullRefPtrVector<Node> nodes; - m_root->for_each_in_inclusive_subtree_of_type<Node>([&](auto& node) { + m_root->for_each_in_inclusive_subtree([&](auto& node) { if (m_filter(node)) nodes.append(node); |