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

Unified Diff: Source/core/rendering/svg/RenderSVGTSpan.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/RenderSVGTSpan.cpp
diff --git a/Source/core/rendering/svg/RenderSVGTSpan.cpp b/Source/core/rendering/svg/RenderSVGTSpan.cpp
index 3c6faf6af46612a9ddf49fdb145ec7fa512bc1ea..e250a444fbef0af37c49356ad0f796d2371fd531 100644
--- a/Source/core/rendering/svg/RenderSVGTSpan.cpp
+++ b/Source/core/rendering/svg/RenderSVGTSpan.cpp
@@ -23,9 +23,7 @@
#include "config.h"
#include "core/rendering/svg/RenderSVGTSpan.h"
-
#include "core/rendering/svg/SVGRenderSupport.h"
-#include "core/svg/SVGAltGlyphElement.h"
namespace blink {
@@ -40,13 +38,6 @@ bool RenderSVGTSpan::isChildAllowed(RenderObject* child, RenderStyle*) const
if (child->isText())
return SVGRenderSupport::isRenderableTextNode(child);
-#if ENABLE(SVG_FONTS)
- // Only allow other types of children if this is not an 'altGlyph'.
- ASSERT(node());
- if (isSVGAltGlyphElement(*node()))
- return false;
-#endif
-
return child->isSVGInline() && !child->isSVGTextPath();
}

Powered by Google App Engine
This is Rietveld 408576698