summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGDescElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGDescElement.h')
-rw-r--r--Source/WebCore/svg/SVGDescElement.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/WebCore/svg/SVGDescElement.h b/Source/WebCore/svg/SVGDescElement.h
index dc7cb0524..4607f696e 100644
--- a/Source/WebCore/svg/SVGDescElement.h
+++ b/Source/WebCore/svg/SVGDescElement.h
@@ -18,27 +18,22 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGDescElement_h
-#define SVGDescElement_h
+#pragma once
-#if ENABLE(SVG)
#include "SVGElement.h"
namespace WebCore {
class SVGDescElement final : public SVGElement {
public:
- static PassRefPtr<SVGDescElement> create(const QualifiedName&, Document&);
+ static Ref<SVGDescElement> create(const QualifiedName&, Document&);
String description() const;
private:
SVGDescElement(const QualifiedName&, Document&);
- virtual bool rendererIsNeeded(const RenderStyle&) override { return false; }
+ bool rendererIsNeeded(const RenderStyle&) final { return false; }
};
} // namespace WebCore
-
-#endif // ENABLE(SVG)
-#endif