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

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

Powered by Google App Engine
This is Rietveld 408576698