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

Unified Diff: Source/core/rendering/svg/RenderSVGTextPath.cpp

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 years, 2 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/rendering/svg/RenderSVGTextPath.cpp
diff --git a/Source/core/rendering/svg/RenderSVGTextPath.cpp b/Source/core/rendering/svg/RenderSVGTextPath.cpp
index 0770a4c3f2f2d32059ee4b3ccdf8380451ecaf8b..6d9c421db0f31142da75842ce4dd39cf528632f9 100644
--- a/Source/core/rendering/svg/RenderSVGTextPath.cpp
+++ b/Source/core/rendering/svg/RenderSVGTextPath.cpp
@@ -38,13 +38,6 @@ bool RenderSVGTextPath::isChildAllowed(RenderObject* child, RenderStyle*) const
if (child->isText())
return SVGRenderSupport::isRenderableTextNode(child);
-#if ENABLE(SVG_FONTS)
- // 'altGlyph' is supported by the content model for 'textPath', but...
- ASSERT(child->node());
- if (isSVGAltGlyphElement(*child->node()))
- return false;
-#endif
-
return child->isSVGInline() && !child->isSVGTextPath();
}

Powered by Google App Engine
This is Rietveld 408576698