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/SVGDescElement.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'Source/WebCore/svg/SVGDescElement.h') 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 create(const QualifiedName&, Document&); + static Ref 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 -- cgit v1.2.1