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..8892b997e7d965c43b06229402595980d58a9331 100644 |
--- a/Source/core/rendering/svg/SVGPathData.cpp |
+++ b/Source/core/rendering/svg/SVGPathData.cpp |
@@ -73,7 +73,7 @@ static void updatePathFromLineElement(SVGElement* element, Path& path) |
static void updatePathFromPathElement(SVGElement* element, Path& path) |
{ |
ASSERT(element->hasTagName(SVGNames::pathTag)); |
tkent
2013/07/21 20:50:30
This ASSERT is redundant. Please remove it.
|
- buildPathFromByteStream(static_cast<SVGPathElement*>(element)->pathByteStream(), path); |
+ buildPathFromByteStream(toSVGPathElement(element)->pathByteStream(), path); |
} |
static void updatePathFromPolygonElement(SVGElement* element, Path& path) |