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

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

Issue 131403008: Revert of Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/StyleEngine.cpp ('k') | Source/core/dom/StyleSheetCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/StyleSheetCollection.h
diff --git a/Source/core/dom/StyleSheetCollection.h b/Source/core/dom/StyleSheetCollection.h
index 6571b7b63b692a78b6fe760d9bdc8722a8038f22..9c9023355ab0cefdf9a7596df7b225c655ea92e7 100644
--- a/Source/core/dom/StyleSheetCollection.h
+++ b/Source/core/dom/StyleSheetCollection.h
@@ -48,7 +48,6 @@
class StyleSheet;
class StyleSheetContents;
class StyleSheetList;
-class StyleRuleFontFace;
// FIXME: Should be in separate file and be renamed like:
// - StyleSheetCollectionBase -> StyleSheetCollection
@@ -99,13 +98,13 @@
enum StyleResolverUpdateType {
Reconstruct,
Reset,
- Additive
+ Additive,
+ ResetStyleResolverAndFontSelector
};
struct StyleSheetChange {
StyleResolverUpdateType styleResolverUpdateType;
bool requiresFullStyleRecalc;
- Vector<const StyleRuleFontFace*> fontFaceRulesToRemove;
StyleSheetChange()
: styleResolverUpdateType(Reconstruct)
« no previous file with comments | « Source/core/dom/StyleEngine.cpp ('k') | Source/core/dom/StyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698