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

Unified Diff: Source/core/fetch/FontResource.h

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/fetch/FontResource.h
diff --git a/Source/core/fetch/FontResource.h b/Source/core/fetch/FontResource.h
index 7bb07dc1f2aed48c44914784563cccffea1c0429..64b952f284ee0526485d8c560aa7f7c3471d5baf 100644
--- a/Source/core/fetch/FontResource.h
+++ b/Source/core/fetch/FontResource.h
@@ -38,7 +38,6 @@ namespace blink {
class Document;
class ResourceFetcher;
class FontPlatformData;
-class SVGFontElement;
class FontCustomPlatformData;
class FontResource final : public Resource {
@@ -68,11 +67,6 @@ public:
bool ensureCustomFontData();
FontPlatformData platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation = Horizontal, FontWidthVariant = RegularWidth);
-#if ENABLE(SVG_FONTS)
- bool ensureSVGFontData();
- SVGFontElement* getSVGFontById(const String&) const;
-#endif
-
protected:
virtual bool isSafeToUnlock() const override;
@@ -88,10 +82,6 @@ private:
bool m_corsFailed;
Timer<FontResource> m_fontLoadWaitLimitTimer;
-#if ENABLE(SVG_FONTS)
- RefPtrWillBeMember<Document> m_externalSVGDocument;
-#endif
-
friend class MemoryCache;
};

Powered by Google App Engine
This is Rietveld 408576698