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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/SVGPolyElement.cpp ('k') | Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGRadialGradientElement.cpp
diff --git a/Source/core/svg/SVGRadialGradientElement.cpp b/Source/core/svg/SVGRadialGradientElement.cpp
index 1770014fdd74c356b70212b0008a8823bab9ef88..3d6d4e3d426806d199ed57c752f96bd301364fb1 100644
--- a/Source/core/svg/SVGRadialGradientElement.cpp
+++ b/Source/core/svg/SVGRadialGradientElement.cpp
@@ -97,7 +97,7 @@ void SVGRadialGradientElement::svgAttributeChanged(const QualifiedName& attrName
updateRelativeLengthsInformation();
- LayoutSVGResourceContainer* renderer = toLayoutSVGResourceContainer(this->renderer());
+ LayoutSVGResourceContainer* renderer = toLayoutSVGResourceContainer(this->layoutObject());
if (renderer)
renderer->invalidateCacheAndMarkForLayout();
}
@@ -152,7 +152,7 @@ static void setGradientAttributes(SVGGradientElement* element, RadialGradientAtt
bool SVGRadialGradientElement::collectGradientAttributes(RadialGradientAttributes& attributes)
{
- if (!renderer())
+ if (!layoutObject())
return false;
WillBeHeapHashSet<RawPtrWillBeMember<SVGGradientElement>> processedGradients;
@@ -171,7 +171,7 @@ bool SVGRadialGradientElement::collectGradientAttributes(RadialGradientAttribute
if (processedGradients.contains(current))
break;
- if (!current->renderer())
+ if (!current->layoutObject())
return false;
setGradientAttributes(current, attributes, isSVGRadialGradientElement(*current));
« no previous file with comments | « Source/core/svg/SVGPolyElement.cpp ('k') | Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698