Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index bc5fca1534bf4aefabc82f57f5aa1ba001ea4108..1b3428a9e709f90051c20028981196817d577386 100644 |
--- a/Source/core/css/resolver/StyleResolver.cpp |
+++ b/Source/core/css/resolver/StyleResolver.cpp |
@@ -81,7 +81,6 @@ |
#include "core/rendering/style/KeyframeList.h" |
#include "core/svg/SVGDocumentExtensions.h" |
#include "core/svg/SVGElement.h" |
-#include "core/svg/SVGFontFaceElement.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "wtf/StdLibExtras.h" |
@@ -147,14 +146,6 @@ StyleResolver::StyleResolver(Document& document) |
} |
initWatchedSelectorRules(CSSSelectorWatch::from(document).watchedCallbackSelectors()); |
- |
-#if ENABLE(SVG_FONTS) |
- if (document.svgExtensions()) { |
- const WillBeHeapHashSet<RawPtrWillBeMember<SVGFontFaceElement> >& svgFontFaceElements = document.svgExtensions()->svgFontFaceElements(); |
- for (const auto& element : svgFontFaceElements) |
- addFontFaceRule(&document, document.styleEngine()->fontSelector(), element->fontFaceRule()); |
- } |
-#endif |
} |
void StyleResolver::initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<StyleRule> >& watchedSelectors) |