Index: Source/core/rendering/svg/RenderSVGInline.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGInline.cpp b/Source/core/rendering/svg/RenderSVGInline.cpp |
index 51d884076255eb29491d563b09d896bdf9befaf1..7c2ec4ae8b5c6948e93cd560d92162d06e34e053 100644 |
--- a/Source/core/rendering/svg/RenderSVGInline.cpp |
+++ b/Source/core/rendering/svg/RenderSVGInline.cpp |
@@ -23,7 +23,6 @@ |
#include "core/rendering/svg/RenderSVGInline.h" |
-#include "SVGNames.h" |
#include "core/rendering/svg/RenderSVGText.h" |
#include "core/rendering/svg/SVGInlineFlowBox.h" |
#include "core/rendering/svg/SVGRenderSupport.h" |
@@ -36,12 +35,6 @@ bool RenderSVGInline::isChildAllowed(RenderObject* child, RenderStyle* style) co |
if (SVGRenderSupport::isEmptySVGInlineText(child)) |
return false; |
- if (node()->hasTagName(SVGNames::aTag)) { |
- // Disallow direct descendant 'a'. |
- if (child->node()->hasTagName(SVGNames::aTag)) |
- return false; |
- } |
- |
if (!child->isSVGInline() && !child->isSVGInlineText()) |
return false; |