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

Unified Diff: Source/core/dom/StyleEngine.h

Issue 157853002: Revert of Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « Source/core/dom/DocumentStyleSheetCollection.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/StyleEngine.h
diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h
index d924848aa7dc8ed9ae4fe06928f0ad68479be12d..31407c2093dc0e7f66d3cd84b6819939aa9e0aae 100644
--- a/Source/core/dom/StyleEngine.h
+++ b/Source/core/dom/StyleEngine.h
@@ -48,7 +48,6 @@
class RuleFeatureSet;
class ShadowTreeStyleSheetCollection;
class StyleResolver;
-class StyleRuleFontFace;
class StyleSheet;
class StyleSheetCollection;
class StyleSheetContents;
@@ -169,10 +168,7 @@
void clearMasterResolver();
CSSFontSelector* fontSelector() { return m_fontSelector.get(); }
- void removeFontFaceRules(const Vector<const StyleRuleFontFace*>&);
- void clearFontCache();
- // updateGenericFontFamilySettings is used from WebSettingsImpl.
- void updateGenericFontFamilySettings();
+ void resetFontSelector();
void didDetach();
bool shouldClearResolver() const;
« no previous file with comments | « Source/core/dom/DocumentStyleSheetCollection.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698