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

Unified Diff: Source/core/fetch/FontResource.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/fetch/FontResource.h
diff --git a/Source/core/fetch/FontResource.h b/Source/core/fetch/FontResource.h
index 7bb07dc1f2aed48c44914784563cccffea1c0429..b7af25ba805e6f49f1034df461340a0537027558 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 {
@@ -47,7 +46,6 @@ public:
FontResource(const ResourceRequest&);
virtual ~FontResource();
- virtual void trace(Visitor*) override;
virtual void load(ResourceFetcher*, const ResourceLoaderOptions&) override;
@@ -68,11 +66,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 +81,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