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

Unified Diff: Source/core/css/CSSFontFaceSrcValue.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/css/CSSFontFaceSrcValue.h
diff --git a/Source/core/css/CSSFontFaceSrcValue.h b/Source/core/css/CSSFontFaceSrcValue.h
index d5b16397ddff321395919bc544f6a81227ae6f50..239bb2772fea5df1f3a82a87cf599e0d683b15d4 100644
--- a/Source/core/css/CSSFontFaceSrcValue.h
+++ b/Source/core/css/CSSFontFaceSrcValue.h
@@ -36,7 +36,6 @@ namespace blink {
class FontResource;
class Document;
-class SVGFontFaceElement;
class CSSFontFaceSrcValue : public CSSValue {
public:
@@ -58,13 +57,6 @@ public:
bool isSupportedFormat() const;
-#if ENABLE(SVG_FONTS)
- bool isSVGFontFaceSrc() const;
-
- SVGFontFaceElement* svgFontFaceElement() const { return m_svgFontFaceElement; }
- void setSVGFontFaceElement(SVGFontFaceElement* element) { m_svgFontFaceElement = element; }
-#endif
-
String customCSSText() const;
bool hasFailedOrCanceledSubresources() const;
@@ -80,9 +72,6 @@ private:
: CSSValue(FontFaceSrcClass)
, m_resource(resource)
, m_isLocal(local)
-#if ENABLE(SVG_FONTS)
- , m_svgFontFaceElement(0)
-#endif
{
}
@@ -95,12 +84,6 @@ private:
bool m_isLocal;
ResourcePtr<FontResource> m_fetched;
-
-#if ENABLE(SVG_FONTS)
- // FIXME: Oilpan: Changing this to a member leaks Document.
- // Figure out the retaining path. See https://codereview.chromium.org/337703004
- SVGFontFaceElement* m_svgFontFaceElement;
-#endif
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSFontFaceSrcValue, isFontFaceSrcValue());

Powered by Google App Engine
This is Rietveld 408576698