summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLBaseFontElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLBaseFontElement.cpp')
-rw-r--r--Source/WebCore/html/HTMLBaseFontElement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLBaseFontElement.cpp b/Source/WebCore/html/HTMLBaseFontElement.cpp
index 62ce8161b..499f94b32 100644
--- a/Source/WebCore/html/HTMLBaseFontElement.cpp
+++ b/Source/WebCore/html/HTMLBaseFontElement.cpp
@@ -35,9 +35,9 @@ inline HTMLBaseFontElement::HTMLBaseFontElement(const QualifiedName& tagName, Do
ASSERT(hasTagName(basefontTag));
}
-Ref<HTMLBaseFontElement> HTMLBaseFontElement::create(const QualifiedName& tagName, Document& document)
+PassRefPtr<HTMLBaseFontElement> HTMLBaseFontElement::create(const QualifiedName& tagName, Document& document)
{
- return adoptRef(*new HTMLBaseFontElement(tagName, document));
+ return adoptRef(new HTMLBaseFontElement(tagName, document));
}
}