diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/html/HTMLBaseElement.cpp | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-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.cpp | 5 |
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) |