summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGAnimateTransformElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGAnimateTransformElement.h')
-rw-r--r--Source/WebCore/svg/SVGAnimateTransformElement.h27
1 files changed, 9 insertions, 18 deletions
diff --git a/Source/WebCore/svg/SVGAnimateTransformElement.h b/Source/WebCore/svg/SVGAnimateTransformElement.h
index d2e4e0927..e223489ec 100644
--- a/Source/WebCore/svg/SVGAnimateTransformElement.h
+++ b/Source/WebCore/svg/SVGAnimateTransformElement.h
@@ -20,37 +20,28 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGAnimateTransformElement_h
-#define SVGAnimateTransformElement_h
+#pragma once
-#if ENABLE(SVG)
-#include "SVGAnimateElement.h"
-#include "SVGTransform.h"
+#include "SVGAnimateElementBase.h"
+#include "SVGTransformValue.h"
namespace WebCore {
class AffineTransform;
-class SVGAnimateTransformElement final : public SVGAnimateElement {
+class SVGAnimateTransformElement final : public SVGAnimateElementBase {
public:
- static PassRefPtr<SVGAnimateTransformElement> create(const QualifiedName&, Document&);
+ static Ref<SVGAnimateTransformElement> create(const QualifiedName&, Document&);
- SVGTransform::SVGTransformType transformType() const { return m_type; }
+ SVGTransformValue::SVGTransformType transformType() const { return m_type; }
private:
SVGAnimateTransformElement(const QualifiedName&, Document&);
- virtual bool hasValidAttributeType() override;
+ bool hasValidAttributeType() final;
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- bool isSupportedAttribute(const QualifiedName&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
-
- SVGTransform::SVGTransformType m_type;
+ SVGTransformValue::SVGTransformType m_type;
};
-NODE_TYPE_CASTS(SVGAnimateTransformElement)
-
} // namespace WebCore
-
-#endif // ENABLE(SVG)
-#endif // SVGAnimateTransformElement_h