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

Unified Diff: Source/core/svg/SVGPathSegLinetoVertical.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/SVGPathSegLinetoRel.h ('k') | Source/core/svg/SVGPathSegLinetoVerticalAbs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegLinetoVertical.h
diff --git a/Source/core/svg/SVGPathSegLinetoVertical.h b/Source/core/svg/SVGPathSegLinetoVertical.h
index 9fb4d8c3ec09e084f3f06e4b970fdf8d626a07e0..961a95829fe9ae71a3be38ad9d1e2391d9b1e421 100644
--- a/Source/core/svg/SVGPathSegLinetoVertical.h
+++ b/Source/core/svg/SVGPathSegLinetoVertical.h
@@ -44,42 +44,6 @@ private:
float m_y;
};
-class SVGPathSegLinetoVerticalAbs : public SVGPathSegLinetoVertical {
-public:
- static PassRefPtr<SVGPathSegLinetoVerticalAbs> create(SVGPathElement* element, SVGPathSegRole role, float y)
- {
- return adoptRef(new SVGPathSegLinetoVerticalAbs(element, role, y));
- }
-
-private:
- SVGPathSegLinetoVerticalAbs(SVGPathElement* element, SVGPathSegRole role, float y)
- : SVGPathSegLinetoVertical(element, role, y)
- {
- ScriptWrappable::init(this);
- }
-
- 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(SVGPathElement* element, SVGPathSegRole role, float y)
- {
- return adoptRef(new SVGPathSegLinetoVerticalRel(element, role, y));
- }
-
-private:
- SVGPathSegLinetoVerticalRel(SVGPathElement* element, SVGPathSegRole role, float y)
- : SVGPathSegLinetoVertical(element, role, y)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_LINETO_VERTICAL_REL; }
- virtual String pathSegTypeAsLetter() const { return "v"; }
-};
-
} // namespace WebCore
#endif
« no previous file with comments | « Source/core/svg/SVGPathSegLinetoRel.h ('k') | Source/core/svg/SVGPathSegLinetoVerticalAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698