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

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

Issue 456763002: Get rid of SVGPathSegRole (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/SVGPathSegLinetoHorizontalRel.h ('k') | Source/core/svg/SVGPathSegLinetoVertical.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegLinetoRel.h
diff --git a/Source/core/svg/SVGPathSegLinetoRel.h b/Source/core/svg/SVGPathSegLinetoRel.h
index 054bcd2d2db3741cab9af28c5ea0064559315261..4cd7e810dd7a3c0d58a2403fe0b5d120787872fd 100644
--- a/Source/core/svg/SVGPathSegLinetoRel.h
+++ b/Source/core/svg/SVGPathSegLinetoRel.h
@@ -28,14 +28,14 @@ namespace blink {
class SVGPathSegLinetoRel FINAL : public SVGPathSegSingleCoordinate {
public:
- static PassRefPtr<SVGPathSegLinetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y)
+ static PassRefPtr<SVGPathSegLinetoRel> create(SVGPathElement* element, float x, float y)
{
- return adoptRef(new SVGPathSegLinetoRel(element, role, x, y));
+ return adoptRef(new SVGPathSegLinetoRel(element, x, y));
}
private:
- SVGPathSegLinetoRel(SVGPathElement* element, SVGPathSegRole role, float x, float y)
- : SVGPathSegSingleCoordinate(element, role, x, y)
+ SVGPathSegLinetoRel(SVGPathElement* element, float x, float y)
+ : SVGPathSegSingleCoordinate(element, x, y)
{
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/core/svg/SVGPathSegLinetoHorizontalRel.h ('k') | Source/core/svg/SVGPathSegLinetoVertical.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698