Index: Source/core/svg/SVGPathElement.cpp |
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp |
index 545c6431a888db91728fcb2d37f0e47e12b4cdc9..fbee5eda341e7e3226729424ae75af97a778a0be 100644 |
--- a/Source/core/svg/SVGPathElement.cpp |
+++ b/Source/core/svg/SVGPathElement.cpp |
@@ -85,97 +85,97 @@ unsigned SVGPathElement::getPathSegAtLength(float length) |
PassRefPtr<SVGPathSegClosePath> SVGPathElement::createSVGPathSegClosePath() |
{ |
- return SVGPathSegClosePath::create(0, PathSegUndefinedRole); |
+ return SVGPathSegClosePath::create(0); |
} |
PassRefPtr<SVGPathSegMovetoAbs> SVGPathElement::createSVGPathSegMovetoAbs(float x, float y) |
{ |
- return SVGPathSegMovetoAbs::create(0, PathSegUndefinedRole, x, y); |
+ return SVGPathSegMovetoAbs::create(0, x, y); |
} |
PassRefPtr<SVGPathSegMovetoRel> SVGPathElement::createSVGPathSegMovetoRel(float x, float y) |
{ |
- return SVGPathSegMovetoRel::create(0, PathSegUndefinedRole, x, y); |
+ return SVGPathSegMovetoRel::create(0, x, y); |
} |
PassRefPtr<SVGPathSegLinetoAbs> SVGPathElement::createSVGPathSegLinetoAbs(float x, float y) |
{ |
- return SVGPathSegLinetoAbs::create(0, PathSegUndefinedRole, x, y); |
+ return SVGPathSegLinetoAbs::create(0, x, y); |
} |
PassRefPtr<SVGPathSegLinetoRel> SVGPathElement::createSVGPathSegLinetoRel(float x, float y) |
{ |
- return SVGPathSegLinetoRel::create(0, PathSegUndefinedRole, x, y); |
+ return SVGPathSegLinetoRel::create(0, x, y); |
} |
PassRefPtr<SVGPathSegCurvetoCubicAbs> SVGPathElement::createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2) |
{ |
- return SVGPathSegCurvetoCubicAbs::create(0, PathSegUndefinedRole, x, y, x1, y1, x2, y2); |
+ return SVGPathSegCurvetoCubicAbs::create(0, x, y, x1, y1, x2, y2); |
} |
PassRefPtr<SVGPathSegCurvetoCubicRel> SVGPathElement::createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2) |
{ |
- return SVGPathSegCurvetoCubicRel::create(0, PathSegUndefinedRole, x, y, x1, y1, x2, y2); |
+ return SVGPathSegCurvetoCubicRel::create(0, x, y, x1, y1, x2, y2); |
} |
PassRefPtr<SVGPathSegCurvetoQuadraticAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1) |
{ |
- return SVGPathSegCurvetoQuadraticAbs::create(0, PathSegUndefinedRole, x, y, x1, y1); |
+ return SVGPathSegCurvetoQuadraticAbs::create(0, x, y, x1, y1); |
} |
PassRefPtr<SVGPathSegCurvetoQuadraticRel> SVGPathElement::createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1) |
{ |
- return SVGPathSegCurvetoQuadraticRel::create(0, PathSegUndefinedRole, x, y, x1, y1); |
+ return SVGPathSegCurvetoQuadraticRel::create(0, x, y, x1, y1); |
} |
PassRefPtr<SVGPathSegArcAbs> SVGPathElement::createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) |
{ |
- return SVGPathSegArcAbs::create(0, PathSegUndefinedRole, x, y, r1, r2, angle, largeArcFlag, sweepFlag); |
+ return SVGPathSegArcAbs::create(0, x, y, r1, r2, angle, largeArcFlag, sweepFlag); |
} |
PassRefPtr<SVGPathSegArcRel> SVGPathElement::createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) |
{ |
- return SVGPathSegArcRel::create(0, PathSegUndefinedRole, x, y, r1, r2, angle, largeArcFlag, sweepFlag); |
+ return SVGPathSegArcRel::create(0, x, y, r1, r2, angle, largeArcFlag, sweepFlag); |
} |
PassRefPtr<SVGPathSegLinetoHorizontalAbs> SVGPathElement::createSVGPathSegLinetoHorizontalAbs(float x) |
{ |
- return SVGPathSegLinetoHorizontalAbs::create(0, PathSegUndefinedRole, x); |
+ return SVGPathSegLinetoHorizontalAbs::create(0, x); |
} |
PassRefPtr<SVGPathSegLinetoHorizontalRel> SVGPathElement::createSVGPathSegLinetoHorizontalRel(float x) |
{ |
- return SVGPathSegLinetoHorizontalRel::create(0, PathSegUndefinedRole, x); |
+ return SVGPathSegLinetoHorizontalRel::create(0, x); |
} |
PassRefPtr<SVGPathSegLinetoVerticalAbs> SVGPathElement::createSVGPathSegLinetoVerticalAbs(float y) |
{ |
- return SVGPathSegLinetoVerticalAbs::create(0, PathSegUndefinedRole, y); |
+ return SVGPathSegLinetoVerticalAbs::create(0, y); |
} |
PassRefPtr<SVGPathSegLinetoVerticalRel> SVGPathElement::createSVGPathSegLinetoVerticalRel(float y) |
{ |
- return SVGPathSegLinetoVerticalRel::create(0, PathSegUndefinedRole, y); |
+ return SVGPathSegLinetoVerticalRel::create(0, y); |
} |
PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2) |
{ |
- return SVGPathSegCurvetoCubicSmoothAbs::create(0, PathSegUndefinedRole, x, y, x2, y2); |
+ return SVGPathSegCurvetoCubicSmoothAbs::create(0, x, y, x2, y2); |
} |
PassRefPtr<SVGPathSegCurvetoCubicSmoothRel> SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2) |
{ |
- return SVGPathSegCurvetoCubicSmoothRel::create(0, PathSegUndefinedRole, x, y, x2, y2); |
+ return SVGPathSegCurvetoCubicSmoothRel::create(0, x, y, x2, y2); |
} |
PassRefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y) |
{ |
- return SVGPathSegCurvetoQuadraticSmoothAbs::create(0, PathSegUndefinedRole, x, y); |
+ return SVGPathSegCurvetoQuadraticSmoothAbs::create(0, x, y); |
} |
PassRefPtr<SVGPathSegCurvetoQuadraticSmoothRel> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y) |
{ |
- return SVGPathSegCurvetoQuadraticSmoothRel::create(0, PathSegUndefinedRole, x, y); |
+ return SVGPathSegCurvetoQuadraticSmoothRel::create(0, x, y); |
} |
bool SVGPathElement::isSupportedAttribute(const QualifiedName& attrName) |