From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/svg/SVGAnimateTransformElement.h | 27 +++++++++---------------- 1 file changed, 9 insertions(+), 18 deletions(-) (limited to 'Source/WebCore/svg/SVGAnimateTransformElement.h') 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 create(const QualifiedName&, Document&); + static Ref 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 -- cgit v1.2.1