| Index: Source/core/svg/SVGTextPositioningElement.cpp
|
| diff --git a/Source/core/svg/SVGTextPositioningElement.cpp b/Source/core/svg/SVGTextPositioningElement.cpp
|
| index 49d2778fd58dd3e6a2bd4333b73aae5676423911..311db6ce0dc4713546c6c825d0657a89f9f0c982 100644
|
| --- a/Source/core/svg/SVGTextPositioningElement.cpp
|
| +++ b/Source/core/svg/SVGTextPositioningElement.cpp
|
| @@ -67,25 +67,25 @@ void SVGTextPositioningElement::svgAttributeChanged(const QualifiedName& attrNam
|
| if (updateRelativeLengths || attrName == SVGNames::rotateAttr) {
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
|
|
| - LayoutObject* renderer = this->layoutObject();
|
| - if (!renderer)
|
| + LayoutObject* layoutObject = this->layoutObject();
|
| + if (!layoutObject)
|
| return;
|
|
|
| - if (LayoutSVGText* textRenderer = LayoutSVGText::locateLayoutSVGTextAncestor(renderer))
|
| - textRenderer->setNeedsPositioningValuesUpdate();
|
| - markForLayoutAndParentResourceInvalidation(renderer);
|
| + if (LayoutSVGText* textLayoutObject = LayoutSVGText::locateLayoutSVGTextAncestor(layoutObject))
|
| + textLayoutObject->setNeedsPositioningValuesUpdate();
|
| + markForLayoutAndParentResourceInvalidation(layoutObject);
|
| return;
|
| }
|
|
|
| SVGTextContentElement::svgAttributeChanged(attrName);
|
| }
|
|
|
| -SVGTextPositioningElement* SVGTextPositioningElement::elementFromRenderer(LayoutObject& renderer)
|
| +SVGTextPositioningElement* SVGTextPositioningElement::elementFromRenderer(LayoutObject& layoutObject)
|
| {
|
| - if (!renderer.isSVGText() && !renderer.isSVGInline())
|
| + if (!layoutObject.isSVGText() && !layoutObject.isSVGInline())
|
| return 0;
|
|
|
| - Node* node = renderer.node();
|
| + Node* node = layoutObject.node();
|
| ASSERT(node);
|
| ASSERT(node->isSVGElement());
|
|
|
|
|