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

Unified Diff: Source/core/svg/SVGPathSegArcRel.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/SVGPathSegArcAbs.h ('k') | Source/core/svg/SVGPathSegClosePath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegArcRel.h
diff --git a/Source/core/svg/SVGPathSegArcRel.h b/Source/core/svg/SVGPathSegArcRel.h
index 9179a821d26b824621c7677b6af9907ab3cd9183..984557d79f2f36c7d6feaecc542451b45d26ce21 100644
--- a/Source/core/svg/SVGPathSegArcRel.h
+++ b/Source/core/svg/SVGPathSegArcRel.h
@@ -28,14 +28,14 @@ namespace blink {
class SVGPathSegArcRel FINAL : public SVGPathSegArc {
public:
- static PassRefPtr<SVGPathSegArcRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
+ static PassRefPtr<SVGPathSegArcRel> create(SVGPathElement* element, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
{
- return adoptRef(new SVGPathSegArcRel(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
+ return adoptRef(new SVGPathSegArcRel(element, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
}
private:
- SVGPathSegArcRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
- : SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
+ SVGPathSegArcRel(SVGPathElement* element, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
+ : SVGPathSegArc(element, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
{
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/core/svg/SVGPathSegArcAbs.h ('k') | Source/core/svg/SVGPathSegClosePath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698