diff options
Diffstat (limited to 'Source/WebCore/svg/SVGFontFaceFormatElement.h')
-rw-r--r-- | Source/WebCore/svg/SVGFontFaceFormatElement.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/WebCore/svg/SVGFontFaceFormatElement.h b/Source/WebCore/svg/SVGFontFaceFormatElement.h index 344299580..803c464b5 100644 --- a/Source/WebCore/svg/SVGFontFaceFormatElement.h +++ b/Source/WebCore/svg/SVGFontFaceFormatElement.h @@ -17,28 +17,25 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGFontFaceFormatElement_h -#define SVGFontFaceFormatElement_h +#pragma once #if ENABLE(SVG_FONTS) + #include "SVGElement.h" namespace WebCore { class SVGFontFaceFormatElement final : public SVGElement { public: - static PassRefPtr<SVGFontFaceFormatElement> create(const QualifiedName&, Document&); + static Ref<SVGFontFaceFormatElement> create(const QualifiedName&, Document&); private: SVGFontFaceFormatElement(const QualifiedName&, Document&); - virtual void childrenChanged(const ChildChange&) override; - virtual bool rendererIsNeeded(const RenderStyle&) override { return false; } + void childrenChanged(const ChildChange&) final; + bool rendererIsNeeded(const RenderStyle&) final { return false; } }; } // namespace WebCore #endif // ENABLE(SVG_FONTS) -#endif - -// vim:ts=4:noet |