diff options
Diffstat (limited to 'Source/WebCore/svg/SVGAnimatedPointList.h')
-rw-r--r-- | Source/WebCore/svg/SVGAnimatedPointList.h | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/Source/WebCore/svg/SVGAnimatedPointList.h b/Source/WebCore/svg/SVGAnimatedPointList.h index 3476d03be..2090e827d 100644 --- a/Source/WebCore/svg/SVGAnimatedPointList.h +++ b/Source/WebCore/svg/SVGAnimatedPointList.h @@ -17,17 +17,15 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGAnimatedPointList_h -#define SVGAnimatedPointList_h +#pragma once -#if ENABLE(SVG) #include "SVGAnimatedListPropertyTearOff.h" #include "SVGAnimatedTypeAnimator.h" #include "SVGPointList.h" namespace WebCore { -typedef SVGAnimatedListPropertyTearOff<SVGPointList> SVGAnimatedPointList; +using SVGAnimatedPointList = SVGAnimatedListPropertyTearOff<SVGPointListValues>; class SVGAnimationElement; @@ -35,19 +33,16 @@ class SVGAnimatedPointListAnimator final : public SVGAnimatedTypeAnimator { public: SVGAnimatedPointListAnimator(SVGAnimationElement*, SVGElement*); - virtual std::unique_ptr<SVGAnimatedType> constructFromString(const String&) override; - virtual std::unique_ptr<SVGAnimatedType> startAnimValAnimation(const SVGElementAnimatedPropertyList&) override; - virtual void stopAnimValAnimation(const SVGElementAnimatedPropertyList&) override; - virtual void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SVGAnimatedType*) override; - virtual void animValWillChange(const SVGElementAnimatedPropertyList&) override; - virtual void animValDidChange(const SVGElementAnimatedPropertyList&) override; + std::unique_ptr<SVGAnimatedType> constructFromString(const String&) override; + std::unique_ptr<SVGAnimatedType> startAnimValAnimation(const SVGElementAnimatedPropertyList&) override; + void stopAnimValAnimation(const SVGElementAnimatedPropertyList&) override; + void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SVGAnimatedType&) override; + void animValWillChange(const SVGElementAnimatedPropertyList&) override; + void animValDidChange(const SVGElementAnimatedPropertyList&) override; - virtual void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*) override; - virtual void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*) override; - virtual float calculateDistance(const String& fromString, const String& toString) override; + void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*) override; + void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*) override; + float calculateDistance(const String& fromString, const String& toString) override; }; } // namespace WebCore - -#endif // ENABLE(SVG) -#endif |