Index: Source/core/rendering/svg/RenderSVGText.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGText.cpp b/Source/core/rendering/svg/RenderSVGText.cpp |
index f76c6a829b03f62aba4ea0e3815f2551b71e54bf..0a97525350be48edd22c4cfe7ec0975f2978ab7f 100644 |
--- a/Source/core/rendering/svg/RenderSVGText.cpp |
+++ b/Source/core/rendering/svg/RenderSVGText.cpp |
@@ -70,7 +70,7 @@ RenderSVGText::~RenderSVGText() |
bool RenderSVGText::isChildAllowed(RenderObject* child, RenderStyle*) const |
{ |
- return child->isSVGInline() || (child->isText() && !SVGRenderSupport::isEmptySVGInlineText(child)); |
+ return child->isSVGInline() || (child->isText() && SVGRenderSupport::isRenderableTextNode(child)); |
} |
RenderSVGText* RenderSVGText::locateRenderSVGTextAncestor(RenderObject* start) |