summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/DOMImplementation.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/DOMImplementation.h')
-rw-r--r--Userland/Libraries/LibWeb/DOM/DOMImplementation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/DOMImplementation.h b/Userland/Libraries/LibWeb/DOM/DOMImplementation.h
index 759c1d0b4b..2635030adc 100644
--- a/Userland/Libraries/LibWeb/DOM/DOMImplementation.h
+++ b/Userland/Libraries/LibWeb/DOM/DOMImplementation.h
@@ -22,7 +22,7 @@ public:
static NonnullRefPtr<DOMImplementation> create(Document& document)
{
- return adopt(*new DOMImplementation(document));
+ return adopt_ref(*new DOMImplementation(document));
}
const NonnullRefPtr<Document> create_html_document(const String& title) const;