summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLModElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLModElement.cpp')
-rw-r--r--WebCore/html/HTMLModElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLModElement.cpp b/WebCore/html/HTMLModElement.cpp
index a745e44..cb6da83 100644
--- a/WebCore/html/HTMLModElement.cpp
+++ b/WebCore/html/HTMLModElement.cpp
@@ -36,7 +36,7 @@ inline HTMLModElement::HTMLModElement(const QualifiedName& tagName, Document* do
PassRefPtr<HTMLModElement> HTMLModElement::create(const QualifiedName& tagName, Document* document)
{
- return new HTMLModElement(tagName, document);
+ return adoptRef(new HTMLModElement(tagName, document));
}
String HTMLModElement::cite() const