diff options
Diffstat (limited to 'WebCore/svg/SVGPathSegLinetoVertical.h')
-rw-r--r-- | WebCore/svg/SVGPathSegLinetoVertical.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/svg/SVGPathSegLinetoVertical.h b/WebCore/svg/SVGPathSegLinetoVertical.h index d4d9f85..b13b9f4 100644 --- a/WebCore/svg/SVGPathSegLinetoVertical.h +++ b/WebCore/svg/SVGPathSegLinetoVertical.h @@ -43,22 +43,22 @@ namespace WebCore { public: static PassRefPtr<SVGPathSegLinetoVerticalAbs> create(float y) { return adoptRef(new SVGPathSegLinetoVerticalAbs(y)); } - virtual unsigned short pathSegType() const { return PATHSEG_LINETO_VERTICAL_ABS; } - virtual String pathSegTypeAsLetter() const { return "V"; } - private: SVGPathSegLinetoVerticalAbs(float y); + + virtual unsigned short pathSegType() const { return PATHSEG_LINETO_VERTICAL_ABS; } + virtual String pathSegTypeAsLetter() const { return "V"; } }; class SVGPathSegLinetoVerticalRel : public SVGPathSegLinetoVertical { public: static PassRefPtr<SVGPathSegLinetoVerticalRel> create(float y) { return adoptRef(new SVGPathSegLinetoVerticalRel(y)); } - virtual unsigned short pathSegType() const { return PATHSEG_LINETO_VERTICAL_REL; } - virtual String pathSegTypeAsLetter() const { return "v"; } - private: SVGPathSegLinetoVerticalRel(float y); + + virtual unsigned short pathSegType() const { return PATHSEG_LINETO_VERTICAL_REL; } + virtual String pathSegTypeAsLetter() const { return "v"; } }; } // namespace WebCore |