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

Unified Diff: Source/core/svg/SVGPathSegClosePath.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/SVGPathSegArcRel.h ('k') | Source/core/svg/SVGPathSegCurvetoCubic.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegClosePath.h
diff --git a/Source/core/svg/SVGPathSegClosePath.h b/Source/core/svg/SVGPathSegClosePath.h
index db15643312e1cb3bc8329086b866ea15001c46da..457bcd9f104da3ad38f6bcc845b546423f027e78 100644
--- a/Source/core/svg/SVGPathSegClosePath.h
+++ b/Source/core/svg/SVGPathSegClosePath.h
@@ -27,14 +27,14 @@ namespace blink {
class SVGPathSegClosePath FINAL : public SVGPathSegWithContext {
public:
- static PassRefPtr<SVGPathSegClosePath> create(SVGPathElement* element, SVGPathSegRole role)
+ static PassRefPtr<SVGPathSegClosePath> create(SVGPathElement* element)
{
- return adoptRef(new SVGPathSegClosePath(element, role));
+ return adoptRef(new SVGPathSegClosePath(element));
}
private:
- SVGPathSegClosePath(SVGPathElement* element, SVGPathSegRole role)
- : SVGPathSegWithContext(element, role)
+ SVGPathSegClosePath(SVGPathElement* element)
+ : SVGPathSegWithContext(element)
{
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/core/svg/SVGPathSegArcRel.h ('k') | Source/core/svg/SVGPathSegCurvetoCubic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698