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/HTMLPreElement.cpp | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz |
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/html/HTMLPreElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLPreElement.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLPreElement.cpp b/Source/WebCore/html/HTMLPreElement.cpp index 60af0de91..f994ae15a 100644 --- a/Source/WebCore/html/HTMLPreElement.cpp +++ b/Source/WebCore/html/HTMLPreElement.cpp @@ -23,6 +23,7 @@ #include "config.h" #include "HTMLPreElement.h" +#include "Attribute.h" #include "CSSPropertyNames.h" #include "CSSValueKeywords.h" #include "HTMLNames.h" @@ -37,9 +38,9 @@ inline HTMLPreElement::HTMLPreElement(const QualifiedName& tagName, Document& do { } -Ref<HTMLPreElement> HTMLPreElement::create(const QualifiedName& tagName, Document& document) +PassRefPtr<HTMLPreElement> HTMLPreElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(*new HTMLPreElement(tagName, document)); + return adoptRef(new HTMLPreElement(tagName, document)); } bool HTMLPreElement::isPresentationAttribute(const QualifiedName& name) const |