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

Unified Diff: Source/core/svg/SVGPathSegCurvetoQuadraticRel.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
Index: Source/core/svg/SVGPathSegCurvetoQuadraticRel.h
diff --git a/Source/core/svg/SVGPathSegCurvetoQuadraticRel.h b/Source/core/svg/SVGPathSegCurvetoQuadraticRel.h
index 9f18e0b13c2b886f4cceaaf6ab7a07bd12f2db7f..bc310ec708e72b63730a96afa1c531c25bc4a47d 100644
--- a/Source/core/svg/SVGPathSegCurvetoQuadraticRel.h
+++ b/Source/core/svg/SVGPathSegCurvetoQuadraticRel.h
@@ -28,14 +28,14 @@ namespace blink {
class SVGPathSegCurvetoQuadraticRel FINAL : public SVGPathSegCurvetoQuadratic {
public:
- static PassRefPtr<SVGPathSegCurvetoQuadraticRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
+ static PassRefPtr<SVGPathSegCurvetoQuadraticRel> create(SVGPathElement* element, float x, float y, float x1, float y1)
{
- return adoptRef(new SVGPathSegCurvetoQuadraticRel(element, role, x, y, x1, y1));
+ return adoptRef(new SVGPathSegCurvetoQuadraticRel(element, 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)
+ SVGPathSegCurvetoQuadraticRel(SVGPathElement* element, float x, float y, float x1, float y1)
+ : SVGPathSegCurvetoQuadratic(element, x, y, x1, y1)
{
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/core/svg/SVGPathSegCurvetoQuadraticAbs.h ('k') | Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698