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

Unified Diff: Source/core/svg/SVGPathSegCurvetoQuadratic.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/SVGPathSegCurvetoCubicSmoothRel.h ('k') | Source/core/svg/SVGPathSegCurvetoQuadraticAbs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegCurvetoQuadratic.h
diff --git a/Source/core/svg/SVGPathSegCurvetoQuadratic.h b/Source/core/svg/SVGPathSegCurvetoQuadratic.h
index 97b6fb486a2a5012de3d851eda793f239317d2b9..a21bdec8db6f09e48419ad51895ab5ba0d6cbd82 100644
--- a/Source/core/svg/SVGPathSegCurvetoQuadratic.h
+++ b/Source/core/svg/SVGPathSegCurvetoQuadratic.h
@@ -71,42 +71,6 @@ private:
float m_y1;
};
-class SVGPathSegCurvetoQuadraticAbs : public SVGPathSegCurvetoQuadratic {
-public:
- static PassRefPtr<SVGPathSegCurvetoQuadraticAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
- {
- return adoptRef(new SVGPathSegCurvetoQuadraticAbs(element, role, x, y, x1, y1));
- }
-
-private:
- SVGPathSegCurvetoQuadraticAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
- : SVGPathSegCurvetoQuadratic(element, role, x, y, x1, y1)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_QUADRATIC_ABS; }
- virtual String pathSegTypeAsLetter() const { return "Q"; }
-};
-
-class SVGPathSegCurvetoQuadraticRel : public SVGPathSegCurvetoQuadratic {
-public:
- static PassRefPtr<SVGPathSegCurvetoQuadraticRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
- {
- return adoptRef(new SVGPathSegCurvetoQuadraticRel(element, role, x, y, x1, y1));
- }
-
-private:
- SVGPathSegCurvetoQuadraticRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
- : SVGPathSegCurvetoQuadratic(element, role, x, y, x1, y1)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_QUADRATIC_REL; }
- virtual String pathSegTypeAsLetter() const { return "q"; }
-};
-
} // namespace WebCore
#endif
« no previous file with comments | « Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h ('k') | Source/core/svg/SVGPathSegCurvetoQuadraticAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698