diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/svg/SVGPathSegLineto.h | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebCore/svg/SVGPathSegLineto.h')
-rw-r--r-- | WebCore/svg/SVGPathSegLineto.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/WebCore/svg/SVGPathSegLineto.h b/WebCore/svg/SVGPathSegLineto.h index 0110891..b2f30fc 100644 --- a/WebCore/svg/SVGPathSegLineto.h +++ b/WebCore/svg/SVGPathSegLineto.h @@ -30,7 +30,7 @@ namespace WebCore { class SVGPathSegLinetoAbs : public SVGPathSeg { public: - static PassRefPtr<SVGPathSegLinetoAbs> create(float x, float y) { return adoptRef(new SVGPathSegLinetoAbs(x, y)); } + SVGPathSegLinetoAbs(float x, float y); virtual ~SVGPathSegLinetoAbs(); virtual unsigned short pathSegType() const { return PATHSEG_LINETO_ABS; } @@ -44,15 +44,13 @@ namespace WebCore { float y() const; private: - SVGPathSegLinetoAbs(float x, float y); - float m_x; float m_y; }; class SVGPathSegLinetoRel : public SVGPathSeg { public: - static PassRefPtr<SVGPathSegLinetoRel> create(float x, float y) { return adoptRef(new SVGPathSegLinetoRel(x, y)); } + SVGPathSegLinetoRel(float x, float y); virtual ~SVGPathSegLinetoRel(); virtual unsigned short pathSegType() const { return PATHSEG_LINETO_REL; } @@ -66,8 +64,6 @@ namespace WebCore { float y() const; private: - SVGPathSegLinetoRel(float x, float y); - float m_x; float m_y; }; |