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

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

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix fast/text/international/ regression 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
Index: Source/core/dom/StyleSheetCollection.h
diff --git a/Source/core/dom/StyleSheetCollection.h b/Source/core/dom/StyleSheetCollection.h
index e181fec6ba36672aa91be6fdc8530a8ebc71d495..f3a3c4f79b2961b8fb70fa16fd5fff762fac6084 100644
--- a/Source/core/dom/StyleSheetCollection.h
+++ b/Source/core/dom/StyleSheetCollection.h
@@ -49,6 +49,7 @@ class Node;
class StyleSheet;
class StyleSheetContents;
class StyleSheetList;
+class StyleRuleFontFace;
// FIXME: Should be in separate file and be renamed like:
// - StyleSheetCollectionBase -> StyleSheetCollection
@@ -104,13 +105,13 @@ protected:
enum StyleResolverUpdateType {
Reconstruct,
Reset,
- Additive,
- ResetStyleResolverAndFontSelector
+ Additive
};
struct StyleSheetChange {
StyleResolverUpdateType styleResolverUpdateType;
bool requiresFullStyleRecalc;
+ Vector<const StyleRuleFontFace*> fontFaceRulesToRemove;
StyleSheetChange()
: styleResolverUpdateType(Reconstruct)

Powered by Google App Engine
This is Rietveld 408576698