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

Unified Diff: Source/core/svg/SVGPathSegCurvetoCubicRel.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/SVGPathSegCurvetoCubicAbs.h ('k') | Source/core/svg/SVGPathSegCurvetoCubicSmooth.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegCurvetoCubicRel.h
diff --git a/Source/core/svg/SVGPathSegCurvetoCubicRel.h b/Source/core/svg/SVGPathSegCurvetoCubicRel.h
index 7c7cc7837e38a1974bcfff6a903675b5a83a0228..50f83fe76b1047c0c74fafeac6cc23a5ad2a2564 100644
--- a/Source/core/svg/SVGPathSegCurvetoCubicRel.h
+++ b/Source/core/svg/SVGPathSegCurvetoCubicRel.h
@@ -28,14 +28,14 @@ namespace blink {
class SVGPathSegCurvetoCubicRel FINAL : public SVGPathSegCurvetoCubic {
public:
- static PassRefPtr<SVGPathSegCurvetoCubicRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
+ static PassRefPtr<SVGPathSegCurvetoCubicRel> create(SVGPathElement* element, float x, float y, float x1, float y1, float x2, float y2)
{
- return adoptRef(new SVGPathSegCurvetoCubicRel(element, role, x, y, x1, y1, x2, y2));
+ return adoptRef(new SVGPathSegCurvetoCubicRel(element, x, y, x1, y1, x2, y2));
}
private:
- SVGPathSegCurvetoCubicRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
- : SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2)
+ SVGPathSegCurvetoCubicRel(SVGPathElement* element, float x, float y, float x1, float y1, float x2, float y2)
+ : SVGPathSegCurvetoCubic(element, x, y, x1, y1, x2, y2)
{
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/core/svg/SVGPathSegCurvetoCubicAbs.h ('k') | Source/core/svg/SVGPathSegCurvetoCubicSmooth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698