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

Unified Diff: Source/core/svg/SVGAltGlyphElement.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/SVGAltGlyphElement.cpp
diff --git a/Source/core/svg/SVGAltGlyphElement.cpp b/Source/core/svg/SVGAltGlyphElement.cpp
index 62eea20a36bb8dbbfca810a74adc651ae91f8824..d518d59d408795d316af0afcee99ca03dad6cb4f 100644
--- a/Source/core/svg/SVGAltGlyphElement.cpp
+++ b/Source/core/svg/SVGAltGlyphElement.cpp
@@ -75,13 +75,6 @@ const AtomicString& SVGAltGlyphElement::format() const
return fastGetAttribute(SVGNames::formatAttr);
}
-bool SVGAltGlyphElement::childShouldCreateRenderer(const Node& child) const
-{
- if (child.isTextNode())
- return true;
- return false;
-}
-
RenderObject* SVGAltGlyphElement::createRenderer(RenderStyle*)
{
return new RenderSVGTSpan(this);

Powered by Google App Engine
This is Rietveld 408576698