Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1304)

Unified Diff: Source/core/svg/SVGTSpanElement.cpp

Issue 143263011: Convert SVG <text> and descendants to use RenderObject::isChildAllowed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/SVGTSpanElement.cpp
diff --git a/Source/core/svg/SVGTSpanElement.cpp b/Source/core/svg/SVGTSpanElement.cpp
index 77f13fcb23f3ec1aa3d538b84646333097a20b3d..9aa1a9390f4a80bca5b0d844255062ef81390583 100644
--- a/Source/core/svg/SVGTSpanElement.cpp
+++ b/Source/core/svg/SVGTSpanElement.cpp
@@ -43,19 +43,6 @@ RenderObject* SVGTSpanElement::createRenderer(RenderStyle*)
return new RenderSVGTSpan(this);
}
-bool SVGTSpanElement::childShouldCreateRenderer(const Node& child) const
-{
- if (child.isTextNode()
- || child.hasTagName(SVGNames::aTag)
-#if ENABLE(SVG_FONTS)
- || child.hasTagName(SVGNames::altGlyphTag)
-#endif
- || child.hasTagName(SVGNames::tspanTag))
- return true;
-
- return false;
-}
-
bool SVGTSpanElement::rendererIsNeeded(const RenderStyle& style)
{
if (parentNode()

Powered by Google App Engine
This is Rietveld 408576698