| Index: Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp
|
| diff --git a/Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp b/Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp
|
| index b0906648fa42155c1e7b4877b338141ec61835f6..6a15cadd965cab2c30b2553248698d39b32a190c 100644
|
| --- a/Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp
|
| +++ b/Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp
|
| @@ -89,8 +89,7 @@ SVGPathElement* SVGPathSegListPropertyTearOff::contextElement() const
|
| {
|
| SVGElement* contextElement = m_animatedProperty->contextElement();
|
| ASSERT(contextElement);
|
| - ASSERT(contextElement->hasTagName(SVGNames::pathTag));
|
| - return static_cast<SVGPathElement*>(contextElement);
|
| + return toSVGPathElement(contextElement);
|
| }
|
|
|
| bool SVGPathSegListPropertyTearOff::processIncomingListItemValue(const ListItemType& newItem, unsigned* indexToModify)
|
|
|