| Index: Source/core/svg/SVGTextContentElement.cpp
|
| diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp
|
| index feeda7f9af4927361a487652239e88b2540c7c2e..3937d9e35d855be8a690c590f6096b4bdff01e32 100644
|
| --- a/Source/core/svg/SVGTextContentElement.cpp
|
| +++ b/Source/core/svg/SVGTextContentElement.cpp
|
| @@ -234,8 +234,8 @@ void SVGTextContentElement::svgAttributeChanged(const QualifiedName& attrName)
|
| || attrName == XMLNames::spaceAttr) {
|
| SVGElement::InvalidationGuard invalidationGuard(this);
|
|
|
| - if (LayoutObject* renderer = this->layoutObject())
|
| - markForLayoutAndParentResourceInvalidation(renderer);
|
| + if (LayoutObject* layoutObject = this->layoutObject())
|
| + markForLayoutAndParentResourceInvalidation(layoutObject);
|
|
|
| return;
|
| }
|
| @@ -251,15 +251,15 @@ bool SVGTextContentElement::selfHasRelativeLengths() const
|
| return true;
|
| }
|
|
|
| -SVGTextContentElement* SVGTextContentElement::elementFromRenderer(LayoutObject* renderer)
|
| +SVGTextContentElement* SVGTextContentElement::elementFromRenderer(LayoutObject* layoutObject)
|
| {
|
| - if (!renderer)
|
| + if (!layoutObject)
|
| return 0;
|
|
|
| - if (!renderer->isSVGText() && !renderer->isSVGInline())
|
| + if (!layoutObject->isSVGText() && !layoutObject->isSVGInline())
|
| return 0;
|
|
|
| - SVGElement* element = toSVGElement(renderer->node());
|
| + SVGElement* element = toSVGElement(layoutObject->node());
|
| ASSERT(element);
|
| return isSVGTextContentElement(*element) ? toSVGTextContentElement(element) : 0;
|
| }
|
|
|