summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFEDistantLightElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGFEDistantLightElement.cpp')
-rw-r--r--WebCore/svg/SVGFEDistantLightElement.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGFEDistantLightElement.cpp b/WebCore/svg/SVGFEDistantLightElement.cpp
index 3a056af..59394d8 100644
--- a/WebCore/svg/SVGFEDistantLightElement.cpp
+++ b/WebCore/svg/SVGFEDistantLightElement.cpp
@@ -25,13 +25,14 @@
namespace WebCore {
-SVGFEDistantLightElement::SVGFEDistantLightElement(const QualifiedName& tagName, Document* doc)
- : SVGFELightElement(tagName, doc)
+inline SVGFEDistantLightElement::SVGFEDistantLightElement(const QualifiedName& tagName, Document* document)
+ : SVGFELightElement(tagName, document)
{
}
-SVGFEDistantLightElement::~SVGFEDistantLightElement()
+PassRefPtr<SVGFEDistantLightElement> SVGFEDistantLightElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGFEDistantLightElement(tagName, document));
}
PassRefPtr<LightSource> SVGFEDistantLightElement::lightSource() const