| Index: Source/core/rendering/svg/RenderSVGTSpan.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGTSpan.cpp b/Source/core/rendering/svg/RenderSVGTSpan.cpp
|
| index 3c6faf6af46612a9ddf49fdb145ec7fa512bc1ea..e250a444fbef0af37c49356ad0f796d2371fd531 100644
|
| --- a/Source/core/rendering/svg/RenderSVGTSpan.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGTSpan.cpp
|
| @@ -23,9 +23,7 @@
|
| #include "config.h"
|
|
|
| #include "core/rendering/svg/RenderSVGTSpan.h"
|
| -
|
| #include "core/rendering/svg/SVGRenderSupport.h"
|
| -#include "core/svg/SVGAltGlyphElement.h"
|
|
|
| namespace blink {
|
|
|
| @@ -40,13 +38,6 @@ bool RenderSVGTSpan::isChildAllowed(RenderObject* child, RenderStyle*) const
|
| if (child->isText())
|
| return SVGRenderSupport::isRenderableTextNode(child);
|
|
|
| -#if ENABLE(SVG_FONTS)
|
| - // Only allow other types of children if this is not an 'altGlyph'.
|
| - ASSERT(node());
|
| - if (isSVGAltGlyphElement(*node()))
|
| - return false;
|
| -#endif
|
| -
|
| return child->isSVGInline() && !child->isSVGTextPath();
|
| }
|
|
|
|
|