Index: Source/core/svg/SVGPathElement.cpp |
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp |
index e4d78bf7ae66c79f8576371fa92ab82aacc94585..545c6431a888db91728fcb2d37f0e47e12b4cdc9 100644 |
--- a/Source/core/svg/SVGPathElement.cpp |
+++ b/Source/core/svg/SVGPathElement.cpp |
@@ -219,7 +219,7 @@ void SVGPathElement::svgAttributeChanged(const QualifiedName& attrName) |
SVGElement::InvalidationGuard invalidationGuard(this); |
- RenderSVGPath* renderer = toRenderSVGPath(this->renderer()); |
+ RenderSVGShape* renderer = toRenderSVGShape(this->renderer()); |
if (attrName == SVGNames::dAttr) { |
if (renderer) |
@@ -264,7 +264,7 @@ void SVGPathElement::pathSegListChanged(ListModification listModification) |
invalidateSVGAttributes(); |
- RenderSVGPath* renderer = toRenderSVGPath(this->renderer()); |
+ RenderSVGShape* renderer = toRenderSVGShape(this->renderer()); |
if (!renderer) |
return; |
@@ -283,7 +283,7 @@ FloatRect SVGPathElement::getBBox() |
if (!renderer()) |
return FloatRect(); |
- RenderSVGPath* renderer = toRenderSVGPath(this->renderer()); |
+ RenderSVGShape* renderer = toRenderSVGShape(this->renderer()); |
return renderer->path().boundingRect(); |
} |