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

Unified Diff: Source/core/svg/SVGTextContentElement.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/SVGStopElement.cpp ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/core/svg/SVGStopElement.cpp ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698