diff options
Diffstat (limited to 'Source/WebCore/html/HTMLModElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLModElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLModElement.cpp b/Source/WebCore/html/HTMLModElement.cpp index 2a7e472ca..f62690afa 100644 --- a/Source/WebCore/html/HTMLModElement.cpp +++ b/Source/WebCore/html/HTMLModElement.cpp @@ -34,9 +34,9 @@ inline HTMLModElement::HTMLModElement(const QualifiedName& tagName, Document& do { } -PassRefPtr<HTMLModElement> HTMLModElement::create(const QualifiedName& tagName, Document& document) +Ref<HTMLModElement> HTMLModElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(new HTMLModElement(tagName, document)); + return adoptRef(*new HTMLModElement(tagName, document)); } bool HTMLModElement::isURLAttribute(const Attribute& attribute) const |