Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(831)

Unified Diff: Source/core/svg/SVGPathSegCurvetoCubic.h

Issue 18706003: Get rid of SVGPathSeg* special casing in the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGPathSegArcRel.h ('k') | Source/core/svg/SVGPathSegCurvetoCubicAbs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegCurvetoCubic.h
diff --git a/Source/core/svg/SVGPathSegCurvetoCubic.h b/Source/core/svg/SVGPathSegCurvetoCubic.h
index 4eaa4cc765a9e3b89605cf087b04faaeb19f2b05..c344aaceb3e8ba755eb966f6fdd9b12c1daec187 100644
--- a/Source/core/svg/SVGPathSegCurvetoCubic.h
+++ b/Source/core/svg/SVGPathSegCurvetoCubic.h
@@ -89,42 +89,6 @@ private:
float m_y2;
};
-class SVGPathSegCurvetoCubicAbs : public SVGPathSegCurvetoCubic {
-public:
- static PassRefPtr<SVGPathSegCurvetoCubicAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
- {
- return adoptRef(new SVGPathSegCurvetoCubicAbs(element, role, x, y, x1, y1, x2, y2));
- }
-
-private:
- SVGPathSegCurvetoCubicAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
- : SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_ABS; }
- virtual String pathSegTypeAsLetter() const { return "C"; }
-};
-
-class SVGPathSegCurvetoCubicRel : public SVGPathSegCurvetoCubic {
-public:
- static PassRefPtr<SVGPathSegCurvetoCubicRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
- {
- return adoptRef(new SVGPathSegCurvetoCubicRel(element, role, x, y, x1, y1, x2, y2));
- }
-
-private:
- SVGPathSegCurvetoCubicRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
- : SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_REL; }
- virtual String pathSegTypeAsLetter() const { return "c"; }
-};
-
} // namespace WebCore
#endif
« no previous file with comments | « Source/core/svg/SVGPathSegArcRel.h ('k') | Source/core/svg/SVGPathSegCurvetoCubicAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698