| Index: Source/core/svg/SVGPathSegList.cpp
|
| diff --git a/Source/core/svg/SVGPathSegList.cpp b/Source/core/svg/SVGPathSegList.cpp
|
| index e10e1fa9236691e1655b2916c7387aa4a0b7173a..475a0437d95d23422324054fd6040f180adcf078 100644
|
| --- a/Source/core/svg/SVGPathSegList.cpp
|
| +++ b/Source/core/svg/SVGPathSegList.cpp
|
| @@ -40,8 +40,7 @@ String SVGPathSegList::valueAsString() const
|
| void SVGPathSegList::commitChange(SVGElement* contextElement, ListModification listModification)
|
| {
|
| ASSERT(contextElement);
|
| - ASSERT(contextElement->hasTagName(SVGNames::pathTag));
|
| - static_cast<SVGPathElement*>(contextElement)->pathSegListChanged(m_role, listModification);
|
| + toSVGPathElement(contextElement)->pathSegListChanged(m_role, listModification);
|
| }
|
|
|
| }
|
|
|