diff --git a/webf/lib/src/svg/svg_render_object_builder.dart b/webf/lib/src/svg/svg_render_object_builder.dart index 97c65c7d8d..ed0dd41457 100644 --- a/webf/lib/src/svg/svg_render_object_builder.dart +++ b/webf/lib/src/svg/svg_render_object_builder.dart @@ -104,7 +104,6 @@ class SVGRenderBoxBuilder { final Constructor = svgElementsRegistry[tagName]; if (Constructor != null) { final element = Constructor(null); - // element.ownerDocument = target.ownerDocument; if (tagName == TAG_SVG) { /// See [setAttribute] element.renderStyle.height = CSSLengthValue.auto;