summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLHeadElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLHeadElement.cpp')
-rw-r--r--Source/WebCore/html/HTMLHeadElement.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/html/HTMLHeadElement.cpp b/Source/WebCore/html/HTMLHeadElement.cpp
index 094ff3c8c..150ec6195 100644
--- a/Source/WebCore/html/HTMLHeadElement.cpp
+++ b/Source/WebCore/html/HTMLHeadElement.cpp
@@ -37,14 +37,14 @@ HTMLHeadElement::HTMLHeadElement(const QualifiedName& tagName, Document& documen
ASSERT(hasTagName(headTag));
}
-PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(Document& document)
+Ref<HTMLHeadElement> HTMLHeadElement::create(Document& document)
{
- return adoptRef(new HTMLHeadElement(headTag, document));
+ return adoptRef(*new HTMLHeadElement(headTag, document));
}
-PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(const QualifiedName& tagName, Document& document)
+Ref<HTMLHeadElement> HTMLHeadElement::create(const QualifiedName& tagName, Document& document)
{
- return adoptRef(new HTMLHeadElement(tagName, document));
+ return adoptRef(*new HTMLHeadElement(tagName, document));
}
}