summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLDataGridRowElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLDataGridRowElement.cpp')
-rw-r--r--WebCore/html/HTMLDataGridRowElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLDataGridRowElement.cpp b/WebCore/html/HTMLDataGridRowElement.cpp
index bab2a92..8e08c7c 100644
--- a/WebCore/html/HTMLDataGridRowElement.cpp
+++ b/WebCore/html/HTMLDataGridRowElement.cpp
@@ -42,7 +42,7 @@ inline HTMLDataGridRowElement::HTMLDataGridRowElement(const QualifiedName& name,
PassRefPtr<HTMLDataGridRowElement> HTMLDataGridRowElement::create(const QualifiedName& name, Document* document)
{
- return new HTMLDataGridRowElement(name, document);
+ return adoptRef(new HTMLDataGridRowElement(name, document));
}
bool HTMLDataGridRowElement::checkDTD(const Node* newChild)