| Index: Source/core/svg/SVGPathElement.cpp
|
| diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp
|
| index 92ec8b5073117607b1cc04ac59a04e1a0b5ce55a..270efb958934b6cc21643952b29b0c511bd5d0d6 100644
|
| --- a/Source/core/svg/SVGPathElement.cpp
|
| +++ b/Source/core/svg/SVGPathElement.cpp
|
| @@ -205,17 +205,17 @@ void SVGPathElement::svgAttributeChanged(const QualifiedName& attrName)
|
| if (attrName == SVGNames::dAttr || attrName == SVGNames::pathLengthAttr) {
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
|
|
| - LayoutSVGShape* renderer = toLayoutSVGShape(this->layoutObject());
|
| + LayoutSVGShape* layoutObject = toLayoutSVGShape(this->layoutObject());
|
|
|
| if (attrName == SVGNames::dAttr) {
|
| - if (renderer)
|
| - renderer->setNeedsShapeUpdate();
|
| + if (layoutObject)
|
| + layoutObject->setNeedsShapeUpdate();
|
|
|
| invalidateMPathDependencies();
|
| }
|
|
|
| - if (renderer)
|
| - markForLayoutAndParentResourceInvalidation(renderer);
|
| + if (layoutObject)
|
| + markForLayoutAndParentResourceInvalidation(layoutObject);
|
|
|
| return;
|
| }
|
| @@ -254,12 +254,12 @@ void SVGPathElement::pathSegListChanged(ListModification listModification)
|
|
|
| invalidateSVGAttributes();
|
|
|
| - LayoutSVGShape* renderer = toLayoutSVGShape(this->layoutObject());
|
| - if (!renderer)
|
| + LayoutSVGShape* layoutObject = toLayoutSVGShape(this->layoutObject());
|
| + if (!layoutObject)
|
| return;
|
|
|
| - renderer->setNeedsShapeUpdate();
|
| - markForLayoutAndParentResourceInvalidation(renderer);
|
| + layoutObject->setNeedsShapeUpdate();
|
| + markForLayoutAndParentResourceInvalidation(layoutObject);
|
| }
|
|
|
| FloatRect SVGPathElement::getBBox()
|
| @@ -273,8 +273,8 @@ FloatRect SVGPathElement::getBBox()
|
| if (!layoutObject())
|
| return FloatRect();
|
|
|
| - LayoutSVGShape* renderer = toLayoutSVGShape(this->layoutObject());
|
| - return renderer->path().boundingRect();
|
| + LayoutSVGShape* layoutObject = toLayoutSVGShape(this->layoutObject());
|
| + return layoutObject->path().boundingRect();
|
| }
|
|
|
| } // namespace blink
|
|
|