| Index: Source/core/svg/SVGForeignObjectElement.cpp
 | 
| diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp
 | 
| index 27aa782d330fc08b91338ad64b0e2145f33fdac3..7ea7b533feb7987d79b84ecd522f091896baf1ab 100644
 | 
| --- a/Source/core/svg/SVGForeignObjectElement.cpp
 | 
| +++ b/Source/core/svg/SVGForeignObjectElement.cpp
 | 
| @@ -122,7 +122,7 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName)
 | 
|              isWidthHeightAttribute ? StyleChangeReasonForTracing::create(StyleChangeReason::SVGContainerSizeChange) : StyleChangeReasonForTracing::fromAttribute(attrName));
 | 
|  
 | 
|          updateRelativeLengthsInformation();
 | 
| -        if (LayoutObject* renderer = this->renderer())
 | 
| +        if (LayoutObject* renderer = this->layoutObject())
 | 
|              markForLayoutAndParentResourceInvalidation(renderer);
 | 
|      }
 | 
|  }
 | 
| @@ -141,7 +141,7 @@ bool SVGForeignObjectElement::layoutObjectIsNeeded(const LayoutStyle& style)
 | 
|      // parentOrShadowHostElement() instead.
 | 
|      Element* ancestor = parentElement();
 | 
|      while (ancestor && ancestor->isSVGElement()) {
 | 
| -        if (ancestor->renderer() && ancestor->renderer()->isSVGHiddenContainer())
 | 
| +        if (ancestor->layoutObject() && ancestor->layoutObject()->isSVGHiddenContainer())
 | 
|              return false;
 | 
|  
 | 
|          ancestor = ancestor->parentElement();
 | 
| 
 |