 bool SVGElement::HasSVGParent() const {
  return ParentOrShadowHostElement() &&
         ParentOrShadowHostElement()->IsSVGElement();
 }

The product does not correctly convert an object, resource, or structure from one type to a different type.