diff options
Diffstat (limited to 'Source/WebCore/svg/SVGFontFaceNameElement.h')
-rw-r--r-- | Source/WebCore/svg/SVGFontFaceNameElement.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/Source/WebCore/svg/SVGFontFaceNameElement.h b/Source/WebCore/svg/SVGFontFaceNameElement.h index 3f25445fa..5e2b45c0b 100644 --- a/Source/WebCore/svg/SVGFontFaceNameElement.h +++ b/Source/WebCore/svg/SVGFontFaceNameElement.h @@ -17,10 +17,10 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGFontFaceNameElement_h -#define SVGFontFaceNameElement_h +#pragma once #if ENABLE(SVG_FONTS) + #include "SVGElement.h" namespace WebCore { @@ -29,21 +29,16 @@ class CSSFontFaceSrcValue; class SVGFontFaceNameElement final : public SVGElement { public: - static PassRefPtr<SVGFontFaceNameElement> create(const QualifiedName&, Document&); + static Ref<SVGFontFaceNameElement> create(const QualifiedName&, Document&); - PassRef<CSSFontFaceSrcValue> srcValue() const; + Ref<CSSFontFaceSrcValue> srcValue() const; private: SVGFontFaceNameElement(const QualifiedName&, Document&); - virtual bool rendererIsNeeded(const RenderStyle&) override { return false; } + bool rendererIsNeeded(const RenderStyle&) final { return false; } }; -NODE_TYPE_CASTS(SVGFontFaceNameElement) - } // namespace WebCore #endif // ENABLE(SVG_FONTS) -#endif - -// vim:ts=4:noet |