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

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

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing 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/StyleEngine.cpp ('k') | Source/core/dom/TreeScopeStyleSheetCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/TreeScopeStyleSheetCollection.h
diff --git a/Source/core/dom/TreeScopeStyleSheetCollection.h b/Source/core/dom/TreeScopeStyleSheetCollection.h
index fc4348e6a4c3e1d22276d91d150738c977604e4f..6d24219c119b43ee0323e5406bd641f172dd51b8 100644
--- a/Source/core/dom/TreeScopeStyleSheetCollection.h
+++ b/Source/core/dom/TreeScopeStyleSheetCollection.h
@@ -48,6 +48,7 @@ class StyleEngine;
class Node;
class StyleSheetContents;
class StyleSheetList;
+class StyleRuleFontFace;
class TreeScopeStyleSheetCollection : public StyleSheetCollection {
public:
@@ -72,13 +73,13 @@ protected:
enum StyleResolverUpdateType {
Reconstruct,
Reset,
- Additive,
- ResetStyleResolverAndFontSelector
+ Additive
};
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/TreeScopeStyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698