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