summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGAnimatedBoolean.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGAnimatedBoolean.cpp')
-rw-r--r--Source/WebCore/svg/SVGAnimatedBoolean.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/WebCore/svg/SVGAnimatedBoolean.cpp b/Source/WebCore/svg/SVGAnimatedBoolean.cpp
index 41177beab..ec0842a73 100644
--- a/Source/WebCore/svg/SVGAnimatedBoolean.cpp
+++ b/Source/WebCore/svg/SVGAnimatedBoolean.cpp
@@ -18,11 +18,9 @@
*/
#include "config.h"
-
-#if ENABLE(SVG)
#include "SVGAnimatedBoolean.h"
-#include "SVGAnimateElement.h"
+#include "SVGAnimateElementBase.h"
namespace WebCore {
@@ -48,7 +46,7 @@ void SVGAnimatedBooleanAnimator::stopAnimValAnimation(const SVGElementAnimatedPr
stopAnimValAnimationForType<SVGAnimatedBoolean>(animatedTypes);
}
-void SVGAnimatedBooleanAnimator::resetAnimValToBaseVal(const SVGElementAnimatedPropertyList& animatedTypes, SVGAnimatedType* type)
+void SVGAnimatedBooleanAnimator::resetAnimValToBaseVal(const SVGElementAnimatedPropertyList& animatedTypes, SVGAnimatedType& type)
{
resetFromBaseValue<SVGAnimatedBoolean>(animatedTypes, type, &SVGAnimatedType::boolean);
}
@@ -87,5 +85,3 @@ float SVGAnimatedBooleanAnimator::calculateDistance(const String&, const String&
}
}
-
-#endif // ENABLE(SVG)