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

Unified Diff: Source/core/svg/SVGPathSegLinetoHorizontal.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/SVGPathSegLinetoAbs.h ('k') | Source/core/svg/SVGPathSegLinetoHorizontalAbs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegLinetoHorizontal.h
diff --git a/Source/core/svg/SVGPathSegLinetoHorizontal.h b/Source/core/svg/SVGPathSegLinetoHorizontal.h
index 9dc04b0349acb806ddc67edd9ab77c0c6d20eb1a..7b3dde1979e5d8b64f0818e491ab0d93d9cab69a 100644
--- a/Source/core/svg/SVGPathSegLinetoHorizontal.h
+++ b/Source/core/svg/SVGPathSegLinetoHorizontal.h
@@ -44,42 +44,6 @@ private:
float m_x;
};
-class SVGPathSegLinetoHorizontalAbs : public SVGPathSegLinetoHorizontal {
-public:
- static PassRefPtr<SVGPathSegLinetoHorizontalAbs> create(SVGPathElement* element, SVGPathSegRole role, float x)
- {
- return adoptRef(new SVGPathSegLinetoHorizontalAbs(element, role, x));
- }
-
-private:
- SVGPathSegLinetoHorizontalAbs(SVGPathElement* element, SVGPathSegRole role, float x)
- : SVGPathSegLinetoHorizontal(element, role, x)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_LINETO_HORIZONTAL_ABS; }
- virtual String pathSegTypeAsLetter() const { return "H"; }
-};
-
-class SVGPathSegLinetoHorizontalRel : public SVGPathSegLinetoHorizontal {
-public:
- static PassRefPtr<SVGPathSegLinetoHorizontalRel> create(SVGPathElement* element, SVGPathSegRole role, float x)
- {
- return adoptRef(new SVGPathSegLinetoHorizontalRel(element, role, x));
- }
-
-private:
- SVGPathSegLinetoHorizontalRel(SVGPathElement* element, SVGPathSegRole role, float x)
- : SVGPathSegLinetoHorizontal(element, role, x)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_LINETO_HORIZONTAL_REL; }
- virtual String pathSegTypeAsLetter() const { return "h"; }
-};
-
} // namespace WebCore
#endif
« no previous file with comments | « Source/core/svg/SVGPathSegLinetoAbs.h ('k') | Source/core/svg/SVGPathSegLinetoHorizontalAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698