Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: Source/core/svg/SVGTextPositioningElement.cpp

Issue 1118133003: Rename rendering in core/svg. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/SVGUnknownElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/SVGUnknownElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698