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

Unified Diff: sky/engine/core/dom/StyleEngine.cpp

Issue 793933004: Remove dead StyleEngine::removeFontFaceRules. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 6 years 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
« no previous file with comments | « sky/engine/core/dom/StyleEngine.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « sky/engine/core/dom/StyleEngine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698