2011-06-30 Patrick Gansterer <paroga@webkit.org>
Unreviewed build fix for !ENABLE(SVG_ANIMATION) after r88663, r89187, r89220, r89431 and r89661.
* svg/SVGAnimatedAngle.h:
* svg/SVGAnimatedLength.h:
* svg/SVGAnimatedNumber.h:
* svg/SVGAnimatedRect.h:
* svg/SVGAnimatedString.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/svg/SVGAnimatedNumber.h b/Source/WebCore/svg/SVGAnimatedNumber.h
index 9681266..e48bd08 100644
--- a/Source/WebCore/svg/SVGAnimatedNumber.h
+++ b/Source/WebCore/svg/SVGAnimatedNumber.h
@@ -43,23 +43,24 @@
class SVGAnimationElement;
class SVGAnimatedNumberAnimator : public SVGAnimatedTypeAnimator {
-
+
public:
SVGAnimatedNumberAnimator(SVGAnimationElement*, SVGElement*);
virtual ~SVGAnimatedNumberAnimator() { }
-
+
static void calculateAnimatedNumber(SVGAnimationElement*, float percentage, unsigned repeatCount, float& animatedNumber, float fromNumber, float toNumber);
-
+
virtual PassOwnPtr<SVGAnimatedType> constructFromString(const String&);
-
+
virtual void calculateFromAndToValues(OwnPtr<SVGAnimatedType>& fromValue, OwnPtr<SVGAnimatedType>& toValue, const String& fromString, const String& toString);
virtual void calculateFromAndByValues(OwnPtr<SVGAnimatedType>& fromValue, OwnPtr<SVGAnimatedType>& toValue, const String& fromString, const String& byString);
virtual void calculateAnimatedValue(float percentage, unsigned repeatCount,
OwnPtr<SVGAnimatedType>& fromValue, OwnPtr<SVGAnimatedType>& toValue, OwnPtr<SVGAnimatedType>& animatedValue);
virtual float calculateDistance(const String& fromString, const String& toString);
};
+#endif // ENABLE(SVG_ANIMATION)
+
} // namespace WebCore
-#endif // ENABLE(SVG_ANIMATION)
#endif // ENABLE(SVG)
#endif