Index: Source/core/svg/SVGStopElement.cpp |
diff --git a/Source/core/svg/SVGStopElement.cpp b/Source/core/svg/SVGStopElement.cpp |
index b318385b03c634d7aa07c3741ac18ea67472b927..69a7c324cbff7a3c7ba63d0e8d848039eb54a631 100644 |
--- a/Source/core/svg/SVGStopElement.cpp |
+++ b/Source/core/svg/SVGStopElement.cpp |
@@ -50,8 +50,8 @@ void SVGStopElement::svgAttributeChanged(const QualifiedName& attrName) |
if (attrName == SVGNames::offsetAttr) { |
SVGElement::InvalidationGuard invalidationGuard(this); |
- if (renderer()) |
- markForLayoutAndParentResourceInvalidation(renderer()); |
+ if (layoutObject()) |
+ markForLayoutAndParentResourceInvalidation(layoutObject()); |
return; |
} |
@@ -70,7 +70,7 @@ bool SVGStopElement::layoutObjectIsNeeded(const LayoutStyle&) |
Color SVGStopElement::stopColorIncludingOpacity() const |
{ |
- LayoutStyle* style = renderer() ? renderer()->style() : 0; |
+ LayoutStyle* style = layoutObject() ? layoutObject()->style() : 0; |
// FIXME: This check for null style exists to address Bug WK 90814, a rare crash condition in |
// which the renderer or style is null. This entire class is scheduled for removal (Bug WK 86941) |
// and we will tolerate this null check until then. |