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

Unified Diff: Source/core/svg/SVGDocumentExtensions.h

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/svg/SVGDocumentExtensions.h
diff --git a/Source/core/svg/SVGDocumentExtensions.h b/Source/core/svg/SVGDocumentExtensions.h
index 442c0c2df836c008eff7430b0e49b660d9aa5f27..7d335da7ff879b7b13aaf8f61cd1cfde6bf7173b 100644
--- a/Source/core/svg/SVGDocumentExtensions.h
+++ b/Source/core/svg/SVGDocumentExtensions.h
@@ -33,9 +33,6 @@ namespace blink {
class Document;
class RenderSVGResourceContainer;
class SubtreeLayoutScope;
-#if ENABLE(SVG_FONTS)
-class SVGFontFaceElement;
-#endif
class SVGResourcesCache;
class SVGSVGElement;
class Element;
@@ -70,15 +67,6 @@ public:
bool isSVGRootWithRelativeLengthDescendents(SVGSVGElement*) const;
void invalidateSVGRootsWithRelativeLengthDescendents(SubtreeLayoutScope*);
-#if ENABLE(SVG_FONTS)
- const WillBeHeapHashSet<RawPtrWillBeMember<SVGFontFaceElement> >& svgFontFaceElements() const { return m_svgFontFaceElements; }
- void registerSVGFontFaceElement(SVGFontFaceElement*);
- void unregisterSVGFontFaceElement(SVGFontFaceElement*);
-
- void registerPendingSVGFontFaceElementsForRemoval(PassRefPtrWillBeRawPtr<SVGFontFaceElement>);
- void removePendingSVGFontFaceElementsForRemoval();
-#endif
-
bool zoomAndPanEnabled() const;
void startPan(const FloatPoint& start);
@@ -92,11 +80,6 @@ public:
private:
RawPtrWillBeMember<Document> m_document;
WillBeHeapHashSet<RawPtrWillBeMember<SVGSVGElement> > m_timeContainers; // For SVG 1.2 support this will need to be made more general.
-#if ENABLE(SVG_FONTS)
- WillBeHeapHashSet<RawPtrWillBeMember<SVGFontFaceElement> > m_svgFontFaceElements;
- // SVGFontFaceElements that are pending and scheduled for removal.
- WillBeHeapHashSet<RefPtrWillBeMember<SVGFontFaceElement> > m_pendingSVGFontFaceElementsForRemoval;
-#endif
HashMap<AtomicString, RenderSVGResourceContainer*> m_resources;
WillBeHeapHashMap<AtomicString, OwnPtrWillBeMember<SVGPendingElements> > m_pendingResources; // Resources that are pending.
WillBeHeapHashMap<AtomicString, OwnPtrWillBeMember<SVGPendingElements> > m_pendingResourcesForRemoval; // Resources that are pending and scheduled for removal.

Powered by Google App Engine
This is Rietveld 408576698