diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/rendering/svg/RenderSVGTextPath.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/rendering/svg/RenderSVGTextPath.h')
-rw-r--r-- | Source/WebCore/rendering/svg/RenderSVGTextPath.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Source/WebCore/rendering/svg/RenderSVGTextPath.h b/Source/WebCore/rendering/svg/RenderSVGTextPath.h index e7e11ad98..95a379274 100644 --- a/Source/WebCore/rendering/svg/RenderSVGTextPath.h +++ b/Source/WebCore/rendering/svg/RenderSVGTextPath.h @@ -18,17 +18,15 @@ * Boston, MA 02110-1301, USA. */ -#ifndef RenderSVGTextPath_h -#define RenderSVGTextPath_h +#pragma once -#if ENABLE(SVG) #include "RenderSVGInline.h" namespace WebCore { class RenderSVGTextPath final : public RenderSVGInline { public: - RenderSVGTextPath(SVGTextPathElement&, PassRef<RenderStyle>); + RenderSVGTextPath(SVGTextPathElement&, RenderStyle&&); SVGTextPathElement& textPathElement() const; @@ -40,15 +38,12 @@ public: private: void graphicsElement() const = delete; - virtual bool isSVGTextPath() const override { return true; } - virtual const char* renderName() const override { return "RenderSVGTextPath"; } + bool isSVGTextPath() const override { return true; } + const char* renderName() const override { return "RenderSVGTextPath"; } Path m_layoutPath; }; -RENDER_OBJECT_TYPE_CASTS(RenderSVGTextPath, isSVGTextPath()) +} // namespace WebCore -} - -#endif // ENABLE(SVG) -#endif // RenderSVGTextPath_h +SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderSVGTextPath, isSVGTextPath()) |