Index: Source/core/svg/SVGPathSegList.cpp |
diff --git a/Source/core/svg/SVGPathSegList.cpp b/Source/core/svg/SVGPathSegList.cpp |
index 76cb62b302e63863a5cb276407bedfeffd0d812f..925c43ee08cc1f075ee3653810780adf50418414 100644 |
--- a/Source/core/svg/SVGPathSegList.cpp |
+++ b/Source/core/svg/SVGPathSegList.cpp |
@@ -37,17 +37,15 @@ |
namespace blink { |
-SVGPathSegList::SVGPathSegList(SVGPathElement* contextElement, SVGPathSegRole role) |
+SVGPathSegList::SVGPathSegList(SVGPathElement* contextElement) |
: m_contextElement(contextElement) |
- , m_role(role) |
, m_listSyncedToByteStream(true) |
{ |
ASSERT(contextElement); |
} |
-SVGPathSegList::SVGPathSegList(SVGPathElement* contextElement, SVGPathSegRole role, PassOwnPtr<SVGPathByteStream> byteStream) |
+SVGPathSegList::SVGPathSegList(SVGPathElement* contextElement, PassOwnPtr<SVGPathByteStream> byteStream) |
: m_contextElement(contextElement) |
- , m_role(role) |
, m_byteStream(byteStream) |
, m_listSyncedToByteStream(true) |
{ |
@@ -60,7 +58,7 @@ SVGPathSegList::~SVGPathSegList() |
PassRefPtr<SVGPathSegList> SVGPathSegList::clone() |
{ |
- RefPtr<SVGPathSegList> svgPathSegList = adoptRef(new SVGPathSegList(m_contextElement, m_role, byteStream()->copy())); |
+ RefPtr<SVGPathSegList> svgPathSegList = adoptRef(new SVGPathSegList(m_contextElement, byteStream()->copy())); |
svgPathSegList->invalidateList(); |
return svgPathSegList.release(); |
} |
@@ -104,7 +102,6 @@ void SVGPathSegList::updateListFromByteStream() |
SVGPathSegListBuilder builder; |
builder.setCurrentSVGPathElement(m_contextElement); |
builder.setCurrentSVGPathSegList(this); |
- builder.setCurrentSVGPathSegRole(PathSegUnalteredRole); |
SVGPathByteStreamSource source(m_byteStream.get()); |