| Index: Source/core/svg/SVGPolyElement.cpp
|
| diff --git a/Source/core/svg/SVGPolyElement.cpp b/Source/core/svg/SVGPolyElement.cpp
|
| index e592d4e54edd1f3aa6895b92b9ad6b18b05080a8..aa8b5d50efbaf418d5836ac06f1c276c8f7462f6 100644
|
| --- a/Source/core/svg/SVGPolyElement.cpp
|
| +++ b/Source/core/svg/SVGPolyElement.cpp
|
| @@ -45,12 +45,12 @@ void SVGPolyElement::svgAttributeChanged(const QualifiedName& attrName)
|
| if (attrName == SVGNames::pointsAttr) {
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
|
|
| - LayoutSVGShape* renderer = toLayoutSVGShape(this->layoutObject());
|
| - if (!renderer)
|
| + LayoutSVGShape* layoutObject = toLayoutSVGShape(this->layoutObject());
|
| + if (!layoutObject)
|
| return;
|
|
|
| - renderer->setNeedsShapeUpdate();
|
| - markForLayoutAndParentResourceInvalidation(renderer);
|
| + layoutObject->setNeedsShapeUpdate();
|
| + markForLayoutAndParentResourceInvalidation(layoutObject);
|
| return;
|
| }
|
|
|
|
|