diff options
Diffstat (limited to 'WebCore/svg/SVGFEOffsetElement.h')
-rw-r--r-- | WebCore/svg/SVGFEOffsetElement.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/svg/SVGFEOffsetElement.h b/WebCore/svg/SVGFEOffsetElement.h index 6f5e843..af63f61 100644 --- a/WebCore/svg/SVGFEOffsetElement.h +++ b/WebCore/svg/SVGFEOffsetElement.h @@ -23,6 +23,7 @@ #if ENABLE(SVG) && ENABLE(FILTERS) #include "FEOffset.h" +#include "SVGAnimatedNumber.h" #include "SVGFilterPrimitiveStandardAttributes.h" namespace WebCore { @@ -37,11 +38,12 @@ private: virtual void parseMappedAttribute(Attribute*); virtual void svgAttributeChanged(const QualifiedName&); virtual void synchronizeProperty(const QualifiedName&); - virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*); + virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); + // Animated property declarations DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEOffsetElement, SVGNames::inAttr, String, In1, in1) - DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEOffsetElement, SVGNames::dxAttr, float, Dx, dx) - DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEOffsetElement, SVGNames::dyAttr, float, Dy, dy) + DECLARE_ANIMATED_NUMBER(Dx, dx) + DECLARE_ANIMATED_NUMBER(Dy, dy) }; } // namespace WebCore |