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

Unified Diff: Source/core/rendering/svg/SVGResources.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/SVGResources.cpp
diff --git a/Source/core/rendering/svg/SVGResources.cpp b/Source/core/rendering/svg/SVGResources.cpp
index 65f4bb2061b325db3a2073c431bf0b7e1df87ac6..3864c7ad8f0b585761363700c85c0913ca70814b 100644
--- a/Source/core/rendering/svg/SVGResources.cpp
+++ b/Source/core/rendering/svg/SVGResources.cpp
@@ -54,17 +54,11 @@ static HashSet<AtomicString>& clipperFilterMaskerTags()
s_tagList.add(aTag.localName());
s_tagList.add(circleTag.localName());
s_tagList.add(ellipseTag.localName());
-#if ENABLE(SVG_FONTS)
- s_tagList.add(glyphTag.localName());
-#endif
s_tagList.add(gTag.localName());
s_tagList.add(imageTag.localName());
s_tagList.add(lineTag.localName());
s_tagList.add(markerTag.localName());
s_tagList.add(maskTag.localName());
-#if ENABLE(SVG_FONTS)
- s_tagList.add(missing_glyphTag.localName());
-#endif
s_tagList.add(pathTag.localName());
s_tagList.add(polygonTag.localName());
s_tagList.add(polylineTag.localName());
@@ -81,9 +75,6 @@ static HashSet<AtomicString>& clipperFilterMaskerTags()
// Not listed in the definitions are the text content elements, though filter/clipper/masker on tspan/text/.. is allowed.
// (Already mailed SVG WG, waiting for a solution)
-#if ENABLE(SVG_FONTS)
- s_tagList.add(altGlyphTag.localName());
-#endif
s_tagList.add(textPathTag.localName());
s_tagList.add(tspanTag.localName());
@@ -116,9 +107,6 @@ static HashSet<AtomicString>& fillAndStrokeTags()
{
DEFINE_STATIC_LOCAL(HashSet<AtomicString>, s_tagList, ());
if (s_tagList.isEmpty()) {
-#if ENABLE(SVG_FONTS)
- s_tagList.add(altGlyphTag.localName());
-#endif
s_tagList.add(circleTag.localName());
s_tagList.add(ellipseTag.localName());
s_tagList.add(lineTag.localName());

Powered by Google App Engine
This is Rietveld 408576698