diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/HTMLCollection.h')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/HTMLCollection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/HTMLCollection.h b/Userland/Libraries/LibWeb/DOM/HTMLCollection.h index a4c87f4fe4..8ee6c69d53 100644 --- a/Userland/Libraries/LibWeb/DOM/HTMLCollection.h +++ b/Userland/Libraries/LibWeb/DOM/HTMLCollection.h @@ -36,7 +36,7 @@ public: static NonnullRefPtr<HTMLCollection> create(ParentNode& root, Function<bool(Element const&)> filter) { - return adopt(*new HTMLCollection(root, move(filter))); + return adopt_ref(*new HTMLCollection(root, move(filter))); } ~HTMLCollection(); |