summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFEDisplacementMapElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGFEDisplacementMapElement.h')
-rw-r--r--WebCore/svg/SVGFEDisplacementMapElement.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/WebCore/svg/SVGFEDisplacementMapElement.h b/WebCore/svg/SVGFEDisplacementMapElement.h
index 445c631..239c2c7 100644
--- a/WebCore/svg/SVGFEDisplacementMapElement.h
+++ b/WebCore/svg/SVGFEDisplacementMapElement.h
@@ -28,16 +28,17 @@ namespace WebCore {
class SVGFEDisplacementMapElement : public SVGFilterPrimitiveStandardAttributes {
public:
- SVGFEDisplacementMapElement(const QualifiedName& tagName, Document*);
- virtual ~SVGFEDisplacementMapElement();
-
+ static PassRefPtr<SVGFEDisplacementMapElement> create(const QualifiedName&, Document*);
+
static ChannelSelectorType stringToChannel(const String&);
+private:
+ SVGFEDisplacementMapElement(const QualifiedName& tagName, Document*);
+
virtual void parseMappedAttribute(Attribute*);
virtual void synchronizeProperty(const QualifiedName&);
virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*);
-private:
DECLARE_ANIMATED_PROPERTY(SVGFEDisplacementMapElement, SVGNames::inAttr, String, In1, in1)
DECLARE_ANIMATED_PROPERTY(SVGFEDisplacementMapElement, SVGNames::in2Attr, String, In2, in2)
DECLARE_ANIMATED_PROPERTY(SVGFEDisplacementMapElement, SVGNames::xChannelSelectorAttr, int, XChannelSelector, xChannelSelector)