summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGAnimatedIntegerOptionalInteger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGAnimatedIntegerOptionalInteger.cpp')
-rw-r--r--Source/WebCore/svg/SVGAnimatedIntegerOptionalInteger.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/WebCore/svg/SVGAnimatedIntegerOptionalInteger.cpp b/Source/WebCore/svg/SVGAnimatedIntegerOptionalInteger.cpp
index 9f0be8cdc..5b567ed2a 100644
--- a/Source/WebCore/svg/SVGAnimatedIntegerOptionalInteger.cpp
+++ b/Source/WebCore/svg/SVGAnimatedIntegerOptionalInteger.cpp
@@ -18,11 +18,9 @@
*/
#include "config.h"
-
-#if ENABLE(SVG)
#include "SVGAnimatedIntegerOptionalInteger.h"
-#include "SVGAnimateElement.h"
+#include "SVGAnimateElementBase.h"
#include "SVGAnimatedInteger.h"
#include "SVGParserUtilities.h"
@@ -59,7 +57,7 @@ void SVGAnimatedIntegerOptionalIntegerAnimator::stopAnimValAnimation(const SVGEl
stopAnimValAnimationForTypes<SVGAnimatedInteger, SVGAnimatedInteger>(animatedTypes);
}
-void SVGAnimatedIntegerOptionalIntegerAnimator::resetAnimValToBaseVal(const SVGElementAnimatedPropertyList& animatedTypes, SVGAnimatedType* type)
+void SVGAnimatedIntegerOptionalIntegerAnimator::resetAnimValToBaseVal(const SVGElementAnimatedPropertyList& animatedTypes, SVGAnimatedType& type)
{
resetFromBaseValues<SVGAnimatedInteger, SVGAnimatedInteger>(animatedTypes, type, &SVGAnimatedType::integerOptionalInteger);
}
@@ -107,5 +105,3 @@ float SVGAnimatedIntegerOptionalIntegerAnimator::calculateDistance(const String&
}
}
-
-#endif // ENABLE(SVG)