Index: Source/core/rendering/svg/RenderSVGTextPath.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGTextPath.cpp b/Source/core/rendering/svg/RenderSVGTextPath.cpp |
index e5b65631cb6cd5720162ca34c6e4d34cfaf08c0a..26d2055777ad9c8f2bef86d6c04f19089e4c1330 100644 |
--- a/Source/core/rendering/svg/RenderSVGTextPath.cpp |
+++ b/Source/core/rendering/svg/RenderSVGTextPath.cpp |
@@ -37,7 +37,7 @@ RenderSVGTextPath::RenderSVGTextPath(Element* element) |
bool RenderSVGTextPath::isChildAllowed(RenderObject* child, RenderStyle*) const |
{ |
if (child->isText()) |
- return !SVGRenderSupport::isEmptySVGInlineText(child); |
+ return SVGRenderSupport::isRenderableTextNode(child); |
#if ENABLE(SVG_FONTS) |
// 'altGlyph' is supported by the content model for 'textPath', but... |