| Index: Source/core/rendering/svg/SVGPathData.cpp
|
| diff --git a/Source/core/rendering/svg/SVGPathData.cpp b/Source/core/rendering/svg/SVGPathData.cpp
|
| index 935e89f7cd427bb9c406400cd6257e71a3c33bb6..aa69c3702926127405a105732bf4353e651f2f03 100644
|
| --- a/Source/core/rendering/svg/SVGPathData.cpp
|
| +++ b/Source/core/rendering/svg/SVGPathData.cpp
|
| @@ -72,8 +72,7 @@ static void updatePathFromLineElement(SVGElement* element, Path& path)
|
|
|
| static void updatePathFromPathElement(SVGElement* element, Path& path)
|
| {
|
| - ASSERT(element->hasTagName(SVGNames::pathTag));
|
| - buildPathFromByteStream(static_cast<SVGPathElement*>(element)->pathByteStream(), path);
|
| + buildPathFromByteStream(toSVGPathElement(element)->pathByteStream(), path);
|
| }
|
|
|
| static void updatePathFromPolygonElement(SVGElement* element, Path& path)
|
|
|