summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGSetElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGSetElement.h')
-rw-r--r--Source/WebCore/svg/SVGSetElement.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/Source/WebCore/svg/SVGSetElement.h b/Source/WebCore/svg/SVGSetElement.h
index a82186643..1fe688b3c 100644
--- a/Source/WebCore/svg/SVGSetElement.h
+++ b/Source/WebCore/svg/SVGSetElement.h
@@ -18,27 +18,20 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGSetElement_h
-#define SVGSetElement_h
-#if ENABLE(SVG)
+#pragma once
-#include "SVGAnimateElement.h"
+#include "SVGAnimateElementBase.h"
namespace WebCore {
// SVGAnimateElement implements superset of the functionality.
-class SVGSetElement final : public SVGAnimateElement {
+class SVGSetElement final : public SVGAnimateElementBase {
public:
- static PassRefPtr<SVGSetElement> create(const QualifiedName&, Document&);
+ static Ref<SVGSetElement> create(const QualifiedName&, Document&);
private:
SVGSetElement(const QualifiedName&, Document&);
- virtual void updateAnimationMode() override;
+ void updateAnimationMode() override;
};
} // namespace WebCore
-
-#endif // ENABLE(SVG)
-#endif
-
-// vim:ts=4:noet