| Index: Source/core/rendering/svg/SVGPathData.cpp
|
| diff --git a/Source/core/rendering/svg/SVGPathData.cpp b/Source/core/rendering/svg/SVGPathData.cpp
|
| index 707f5488a8732c70ec861d1830f6c1d13e4cc878..312c3ef2dadbb6be50e4db9cc61e70989411f85d 100644
|
| --- a/Source/core/rendering/svg/SVGPathData.cpp
|
| +++ b/Source/core/rendering/svg/SVGPathData.cpp
|
| @@ -62,8 +62,7 @@ static void updatePathFromEllipseElement(SVGElement* element, Path& path)
|
|
|
| static void updatePathFromLineElement(SVGElement* element, Path& path)
|
| {
|
| - ASSERT(element->hasTagName(SVGNames::lineTag));
|
| - SVGLineElement* line = static_cast<SVGLineElement*>(element);
|
| + SVGLineElement* line = toSVGLineElement(element);
|
|
|
| SVGLengthContext lengthContext(element);
|
| path.moveTo(FloatPoint(line->x1CurrentValue().value(lengthContext), line->y1CurrentValue().value(lengthContext)));
|
|
|