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

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

Powered by Google App Engine
This is Rietveld 408576698