diff options
Diffstat (limited to 'Source/WebCore/svg/SVGVKernElement.h')
-rw-r--r-- | Source/WebCore/svg/SVGVKernElement.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Source/WebCore/svg/SVGVKernElement.h b/Source/WebCore/svg/SVGVKernElement.h index ce88de5b4..37f7f46e1 100644 --- a/Source/WebCore/svg/SVGVKernElement.h +++ b/Source/WebCore/svg/SVGVKernElement.h @@ -17,10 +17,10 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGVKernElement_h -#define SVGVKernElement_h +#pragma once #if ENABLE(SVG_FONTS) + #include "SVGElement.h" #include "SVGFontElement.h" @@ -28,22 +28,16 @@ namespace WebCore { class SVGVKernElement final : public SVGElement { public: - static PassRefPtr<SVGVKernElement> create(const QualifiedName&, Document&); + static Ref<SVGVKernElement> create(const QualifiedName&, Document&); - void buildVerticalKerningPair(SVGKerningMap&); + bool buildVerticalKerningPair(SVGKerningPair& kerningPair) const; private: SVGVKernElement(const QualifiedName&, Document&); - virtual InsertionNotificationRequest insertedInto(ContainerNode&) override; - virtual void removedFrom(ContainerNode&) override; - - virtual bool rendererIsNeeded(const RenderStyle&) override { return false; } + bool rendererIsNeeded(const RenderStyle&) final { return false; } }; -NODE_TYPE_CASTS(SVGVKernElement) - } // namespace WebCore #endif // ENABLE(SVG_FONTS) -#endif |