diff options
Diffstat (limited to 'WebCore/svg/SVGFEDisplacementMapElement.cpp')
-rw-r--r-- | WebCore/svg/SVGFEDisplacementMapElement.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/svg/SVGFEDisplacementMapElement.cpp b/WebCore/svg/SVGFEDisplacementMapElement.cpp index 2706c78..013eca5 100644 --- a/WebCore/svg/SVGFEDisplacementMapElement.cpp +++ b/WebCore/svg/SVGFEDisplacementMapElement.cpp @@ -26,15 +26,16 @@ namespace WebCore { -SVGFEDisplacementMapElement::SVGFEDisplacementMapElement(const QualifiedName& tagName, Document* doc) - : SVGFilterPrimitiveStandardAttributes(tagName, doc) +inline SVGFEDisplacementMapElement::SVGFEDisplacementMapElement(const QualifiedName& tagName, Document* document) + : SVGFilterPrimitiveStandardAttributes(tagName, document) , m_xChannelSelector(CHANNEL_A) , m_yChannelSelector(CHANNEL_A) { } -SVGFEDisplacementMapElement::~SVGFEDisplacementMapElement() +PassRefPtr<SVGFEDisplacementMapElement> SVGFEDisplacementMapElement::create(const QualifiedName& tagName, Document* document) { + return adoptRef(new SVGFEDisplacementMapElement(tagName, document)); } ChannelSelectorType SVGFEDisplacementMapElement::stringToChannel(const String& key) |