| Index: Source/core/svg/SVGLineElement.cpp
|
| diff --git a/Source/core/svg/SVGLineElement.cpp b/Source/core/svg/SVGLineElement.cpp
|
| index 040203b264ae2702f3f273632711782b62b39d1b..fe4e682768aa6b5dc6610182b2ac3fc1bdf10b73 100644
|
| --- a/Source/core/svg/SVGLineElement.cpp
|
| +++ b/Source/core/svg/SVGLineElement.cpp
|
| @@ -58,13 +58,13 @@ void SVGLineElement::svgAttributeChanged(const QualifiedName& attrName)
|
| || attrName == SVGNames::y2Attr) {
|
| updateRelativeLengthsInformation();
|
|
|
| - LayoutSVGShape* renderer = toLayoutSVGShape(this->layoutObject());
|
| - if (!renderer)
|
| + LayoutSVGShape* layoutObject = toLayoutSVGShape(this->layoutObject());
|
| + if (!layoutObject)
|
| return;
|
|
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
| - renderer->setNeedsShapeUpdate();
|
| - markForLayoutAndParentResourceInvalidation(renderer);
|
| + layoutObject->setNeedsShapeUpdate();
|
| + markForLayoutAndParentResourceInvalidation(layoutObject);
|
| return;
|
| }
|
|
|
|
|