summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLBaseElement.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/html/HTMLBaseElement.cpp
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/html/HTMLBaseElement.cpp')
-rw-r--r--Source/WebCore/html/HTMLBaseElement.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLBaseElement.cpp b/Source/WebCore/html/HTMLBaseElement.cpp
index f3e29d021..7e8d2764a 100644
--- a/Source/WebCore/html/HTMLBaseElement.cpp
+++ b/Source/WebCore/html/HTMLBaseElement.cpp
@@ -23,6 +23,7 @@
#include "config.h"
#include "HTMLBaseElement.h"
+#include "Attribute.h"
#include "Document.h"
#include "HTMLNames.h"
#include "HTMLParserIdioms.h"
@@ -38,9 +39,9 @@ inline HTMLBaseElement::HTMLBaseElement(const QualifiedName& tagName, Document&
ASSERT(hasTagName(baseTag));
}
-Ref<HTMLBaseElement> HTMLBaseElement::create(const QualifiedName& tagName, Document& document)
+PassRefPtr<HTMLBaseElement> HTMLBaseElement::create(const QualifiedName& tagName, Document& document)
{
- return adoptRef(*new HTMLBaseElement(tagName, document));
+ return adoptRef(new HTMLBaseElement(tagName, document));
}
void HTMLBaseElement::parseAttribute(const QualifiedName& name, const AtomicString& value)