Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / svg / RenderSVGTSpan.cpp
index 3c6faf6..e250a44 100644 (file)
@@ -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();
 }