Index: Source/core/svg/SVGPathSegList.h |
diff --git a/Source/core/svg/SVGPathSegList.h b/Source/core/svg/SVGPathSegList.h |
index ab803095c43d616807b20ec699fbe788cc82ecf9..4ea80e9f80e9bde885ce248ed7fc28e7cf3de411 100644 |
--- a/Source/core/svg/SVGPathSegList.h |
+++ b/Source/core/svg/SVGPathSegList.h |
@@ -49,9 +49,9 @@ public: |
typedef SVGPathSegListTearOff TearOffType; |
typedef SVGListPropertyHelper<SVGPathSegList, SVGPathSeg> Base; |
- static PassRefPtr<SVGPathSegList> create(SVGPathElement* contextElement, SVGPathSegRole role = PathSegUndefinedRole) |
+ static PassRefPtr<SVGPathSegList> create(SVGPathElement* contextElement) |
{ |
- return adoptRef(new SVGPathSegList(contextElement, role)); |
+ return adoptRef(new SVGPathSegList(contextElement)); |
} |
static PassRefPtr<SVGPathSegList> create() { ASSERT_NOT_REACHED(); return nullptr; } |
@@ -143,8 +143,8 @@ public: |
static AnimatedPropertyType classType() { return AnimatedPath; } |
private: |
- SVGPathSegList(SVGPathElement*, SVGPathSegRole); |
- SVGPathSegList(SVGPathElement*, SVGPathSegRole, PassOwnPtr<SVGPathByteStream>); |
+ SVGPathSegList(SVGPathElement*); |
+ SVGPathSegList(SVGPathElement*, PassOwnPtr<SVGPathByteStream>); |
friend class SVGPathSegListBuilder; |
// This is only to be called from SVGPathSegListBuilder. |
@@ -163,7 +163,6 @@ private: |
// so this ptr is always valid. |
SVGPathElement* m_contextElement; |
- SVGPathSegRole m_role; |
mutable OwnPtr<SVGPathByteStream> m_byteStream; |
bool m_listSyncedToByteStream; |
}; |