summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGDescElement.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/svg/SVGDescElement.cpp
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/svg/SVGDescElement.cpp')
-rw-r--r--Source/WebCore/svg/SVGDescElement.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/WebCore/svg/SVGDescElement.cpp b/Source/WebCore/svg/SVGDescElement.cpp
index edd2b79e5..a46c98cd8 100644
--- a/Source/WebCore/svg/SVGDescElement.cpp
+++ b/Source/WebCore/svg/SVGDescElement.cpp
@@ -19,8 +19,8 @@
*/
#include "config.h"
-#if ENABLE(SVG)
#include "SVGDescElement.h"
+
#include "SVGNames.h"
namespace WebCore {
@@ -31,9 +31,9 @@ inline SVGDescElement::SVGDescElement(const QualifiedName& tagName, Document& do
ASSERT(hasTagName(SVGNames::descTag));
}
-PassRefPtr<SVGDescElement> SVGDescElement::create(const QualifiedName& tagName, Document& document)
+Ref<SVGDescElement> SVGDescElement::create(const QualifiedName& tagName, Document& document)
{
- return adoptRef(new SVGDescElement(tagName, document));
+ return adoptRef(*new SVGDescElement(tagName, document));
}
String SVGDescElement::description() const
@@ -42,7 +42,3 @@ String SVGDescElement::description() const
}
}
-
-// vim:ts=4:noet
-#endif // ENABLE(SVG)
-