diff options
Diffstat (limited to 'WebCore/html/HTMLTableRowElement.cpp')
-rw-r--r-- | WebCore/html/HTMLTableRowElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/html/HTMLTableRowElement.cpp b/WebCore/html/HTMLTableRowElement.cpp index 49f85ce..cba2d48 100644 --- a/WebCore/html/HTMLTableRowElement.cpp +++ b/WebCore/html/HTMLTableRowElement.cpp @@ -46,12 +46,12 @@ HTMLTableRowElement::HTMLTableRowElement(const QualifiedName& tagName, Document* PassRefPtr<HTMLTableRowElement> HTMLTableRowElement::create(Document* document) { - return new HTMLTableRowElement(trTag, document); + return adoptRef(new HTMLTableRowElement(trTag, document)); } PassRefPtr<HTMLTableRowElement> HTMLTableRowElement::create(const QualifiedName& tagName, Document* document) { - return new HTMLTableRowElement(tagName, document); + return adoptRef(new HTMLTableRowElement(tagName, document)); } bool HTMLTableRowElement::checkDTD(const Node* newChild) |