diff options
Diffstat (limited to 'Source/WebCore/html/HTMLDirectoryElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLDirectoryElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLDirectoryElement.cpp b/Source/WebCore/html/HTMLDirectoryElement.cpp index 5c3d15ebc..bb77d35b2 100644 --- a/Source/WebCore/html/HTMLDirectoryElement.cpp +++ b/Source/WebCore/html/HTMLDirectoryElement.cpp @@ -35,9 +35,9 @@ inline HTMLDirectoryElement::HTMLDirectoryElement(const QualifiedName& tagName, ASSERT(hasTagName(dirTag)); } -PassRefPtr<HTMLDirectoryElement> HTMLDirectoryElement::create(const QualifiedName& tagName, Document& document) +Ref<HTMLDirectoryElement> HTMLDirectoryElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(new HTMLDirectoryElement(tagName, document)); + return adoptRef(*new HTMLDirectoryElement(tagName, document)); } } |