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

Unified Diff: Source/core/svg/SVGPathSegCurvetoCubicSmooth.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/SVGPathSegCurvetoCubicRel.h ('k') | Source/core/svg/SVGPathSegCurvetoCubicSmoothAbs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegCurvetoCubicSmooth.h
diff --git a/Source/core/svg/SVGPathSegCurvetoCubicSmooth.h b/Source/core/svg/SVGPathSegCurvetoCubicSmooth.h
index db9ae74a0811a1c9f482a2e3c893c216575bbe98..5b7a901814dc25cab2bc3f6ee572bac8d1c98e34 100644
--- a/Source/core/svg/SVGPathSegCurvetoCubicSmooth.h
+++ b/Source/core/svg/SVGPathSegCurvetoCubicSmooth.h
@@ -71,42 +71,6 @@ private:
float m_y2;
};
-class SVGPathSegCurvetoCubicSmoothAbs : public SVGPathSegCurvetoCubicSmooth {
-public:
- static PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
- {
- return adoptRef(new SVGPathSegCurvetoCubicSmoothAbs(element, role, x, y, x2, y2));
- }
-
-private:
- SVGPathSegCurvetoCubicSmoothAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
- : SVGPathSegCurvetoCubicSmooth(element, role, x, y, x2, y2)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_SMOOTH_ABS; }
- virtual String pathSegTypeAsLetter() const { return "S"; }
-};
-
-class SVGPathSegCurvetoCubicSmoothRel : public SVGPathSegCurvetoCubicSmooth {
-public:
- static PassRefPtr<SVGPathSegCurvetoCubicSmoothRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
- {
- return adoptRef(new SVGPathSegCurvetoCubicSmoothRel(element, role, x, y, x2, y2));
- }
-
-private:
- SVGPathSegCurvetoCubicSmoothRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
- : SVGPathSegCurvetoCubicSmooth(element, role, x, y, x2, y2)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_SMOOTH_REL; }
- virtual String pathSegTypeAsLetter() const { return "s"; }
-};
-
} // namespace WebCore
#endif
« no previous file with comments | « Source/core/svg/SVGPathSegCurvetoCubicRel.h ('k') | Source/core/svg/SVGPathSegCurvetoCubicSmoothAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698