| Index: sky/engine/core/dom/StyleEngine.cpp
|
| diff --git a/sky/engine/core/dom/StyleEngine.cpp b/sky/engine/core/dom/StyleEngine.cpp
|
| index ef36e93e71269d23e0f788adc0e8749bf49cb5eb..0d0719a11bf76a12b4b64181a72fced781730cb1 100644
|
| --- a/sky/engine/core/dom/StyleEngine.cpp
|
| +++ b/sky/engine/core/dom/StyleEngine.cpp
|
| @@ -171,15 +171,6 @@ void StyleEngine::updateGenericFontFamilySettings()
|
| m_resolver->invalidateMatchedPropertiesCache();
|
| }
|
|
|
| -void StyleEngine::removeFontFaceRules(const Vector<RawPtr<const StyleRuleFontFace> >& fontFaceRules)
|
| -{
|
| - FontFaceCache* cache = m_fontSelector->fontFaceCache();
|
| - for (unsigned i = 0; i < fontFaceRules.size(); ++i)
|
| - cache->remove(fontFaceRules[i]);
|
| - if (m_resolver)
|
| - m_resolver->invalidateMatchedPropertiesCache();
|
| -}
|
| -
|
| PassRefPtr<CSSStyleSheet> StyleEngine::createSheet(Element* e, const String& text)
|
| {
|
| RefPtr<CSSStyleSheet> styleSheet;
|
|
|