summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGPolygonElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGPolygonElement.h')
-rw-r--r--Source/WebCore/svg/SVGPolygonElement.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/WebCore/svg/SVGPolygonElement.h b/Source/WebCore/svg/SVGPolygonElement.h
index 11b50f60c..52d669172 100644
--- a/Source/WebCore/svg/SVGPolygonElement.h
+++ b/Source/WebCore/svg/SVGPolygonElement.h
@@ -18,25 +18,18 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGPolygonElement_h
-#define SVGPolygonElement_h
+#pragma once
-#if ENABLE(SVG)
#include "SVGPolyElement.h"
namespace WebCore {
class SVGPolygonElement final : public SVGPolyElement {
public:
- static PassRefPtr<SVGPolygonElement> create(const QualifiedName&, Document&);
+ static Ref<SVGPolygonElement> create(const QualifiedName&, Document&);
private:
SVGPolygonElement(const QualifiedName&, Document&);
};
-NODE_TYPE_CASTS(SVGPolygonElement)
-
} // namespace WebCore
-
-#endif // ENABLE(SVG)
-#endif