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

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

Issue 146833003: Convert remaining RenderSVG* nodes to RenderObject::isChildAllowed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix 'switch' condition. 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
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGSwitchElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.cpp
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
index 2c6330373c52ee3c9a3585b6e91146b4378b72c6..7451ea67ed9e5603ee1af7c2d3b9f820175266ba 100644
--- a/Source/core/svg/SVGElement.cpp
+++ b/Source/core/svg/SVGElement.cpp
@@ -974,17 +974,6 @@ void SVGElement::finishParsingChildren()
sendSVGLoadEventIfPossible();
}
-bool SVGElement::childShouldCreateRenderer(const Node& child) const
-{
- if (child.hasTagName(SVGNames::textPathTag)
-#if ENABLE(SVG_FONTS)
- || child.hasTagName(SVGNames::altGlyphTag)
-#endif
- || child.hasTagName(SVGNames::tspanTag))
- return false;
- return child.isSVGElement();
-}
-
void SVGElement::attributeChanged(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason)
{
Element::attributeChanged(name, newValue);
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGSwitchElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698