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