Index: Source/core/svg/SVGForeignObjectElement.cpp |
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp |
index 0a98c1c3e152b04107f23f1c386d61f1d30a595e..dc3e86521dd9c4381166af43e694006d635c9adb 100644 |
--- a/Source/core/svg/SVGForeignObjectElement.cpp |
+++ b/Source/core/svg/SVGForeignObjectElement.cpp |
@@ -118,15 +118,6 @@ RenderObject* SVGForeignObjectElement::createRenderer(RenderStyle*) |
return new RenderSVGForeignObject(this); |
} |
-bool SVGForeignObjectElement::childShouldCreateRenderer(const Node& child) const |
-{ |
- // Disallow arbitary SVG content. Only allow proper <svg xmlns="svgNS"> subdocuments. |
- if (child.isSVGElement()) |
- return child.hasTagName(SVGNames::svgTag); |
- // Skip over SVG rules which disallow non-SVG kids |
- return true; |
-} |
- |
bool SVGForeignObjectElement::rendererIsNeeded(const RenderStyle& style) |
{ |
// Suppress foreignObject renderers in SVG hidden containers. |