Index: Source/core/svg/SVGAElement.cpp |
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp |
index 5001f84afcc1b63444097ee2210d79a094b5a717..ca0d99f6d2ee3e99880423922f05623f515abefd 100644 |
--- a/Source/core/svg/SVGAElement.cpp |
+++ b/Source/core/svg/SVGAElement.cpp |
@@ -221,18 +221,6 @@ bool SVGAElement::isKeyboardFocusable() const |
return false; |
} |
-bool SVGAElement::childShouldCreateRenderer(const Node& child) const |
-{ |
- // http://www.w3.org/2003/01/REC-SVG11-20030114-errata#linking-text-environment |
- // The 'a' element may contain any element that its parent may contain, except itself. |
- if (child.hasTagName(SVGNames::aTag)) |
- return false; |
- if (parentNode() && parentNode()->isSVGElement()) |
- return toSVGElement(parentNode())->childShouldCreateRenderer(child); |
- |
- return SVGGraphicsElement::childShouldCreateRenderer(child); |
-} |
- |
bool SVGAElement::willRespondToMouseClickEvents() |
{ |
return isLink() || SVGGraphicsElement::willRespondToMouseClickEvents(); |