| Index: Source/core/svg/SVGLinearGradientElement.cpp
|
| diff --git a/Source/core/svg/SVGLinearGradientElement.cpp b/Source/core/svg/SVGLinearGradientElement.cpp
|
| index 04f39e9ce55341f7976acfd01a1040b355aa3321..3bd6e18c5fa4060f1fd17e90d93590dd89e01652 100644
|
| --- a/Source/core/svg/SVGLinearGradientElement.cpp
|
| +++ b/Source/core/svg/SVGLinearGradientElement.cpp
|
| @@ -85,7 +85,7 @@ void SVGLinearGradientElement::svgAttributeChanged(const QualifiedName& attrName
|
|
|
| updateRelativeLengthsInformation();
|
|
|
| - LayoutSVGResourceContainer* renderer = toLayoutSVGResourceContainer(this->renderer());
|
| + LayoutSVGResourceContainer* renderer = toLayoutSVGResourceContainer(this->layoutObject());
|
| if (renderer)
|
| renderer->invalidateCacheAndMarkForLayout();
|
| }
|
| @@ -134,7 +134,7 @@ static void setGradientAttributes(SVGGradientElement* element, LinearGradientAtt
|
|
|
| bool SVGLinearGradientElement::collectGradientAttributes(LinearGradientAttributes& attributes)
|
| {
|
| - if (!renderer())
|
| + if (!layoutObject())
|
| return false;
|
|
|
| WillBeHeapHashSet<RawPtrWillBeMember<SVGGradientElement>> processedGradients;
|
| @@ -153,7 +153,7 @@ bool SVGLinearGradientElement::collectGradientAttributes(LinearGradientAttribute
|
| if (processedGradients.contains(current))
|
| return true;
|
|
|
| - if (!current->renderer())
|
| + if (!current->layoutObject())
|
| return false;
|
|
|
| setGradientAttributes(current, attributes, isSVGLinearGradientElement(*current));
|
|
|