diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/HTMLCollection.cpp')
-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 550e946e6e..59b05d09ce 100644 --- a/Userland/Libraries/LibWeb/DOM/HTMLCollection.cpp +++ b/Userland/Libraries/LibWeb/DOM/HTMLCollection.cpp @@ -15,7 +15,7 @@ namespace Web::DOM { JS::NonnullGCPtr<HTMLCollection> HTMLCollection::create(ParentNode& root, Function<bool(Element const&)> filter) { - return *root.heap().allocate<HTMLCollection>(root.realm(), root, move(filter)); + return root.heap().allocate<HTMLCollection>(root.realm(), root, move(filter)); } HTMLCollection::HTMLCollection(ParentNode& root, Function<bool(Element const&)> filter) |