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

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

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added 2 layout tests Created 7 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
Index: Source/core/dom/StyleEngine.h
diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h
index e6a4c4d8f09e649d28605e1555447eb7f36b9920..0c4c96e2ec477a16fa024fd1915c2c4a019f4342 100644
--- a/Source/core/dom/StyleEngine.h
+++ b/Source/core/dom/StyleEngine.h
@@ -48,6 +48,7 @@ class Node;
class RuleFeatureSet;
class ShadowTreeStyleSheetCollection;
class StyleResolver;
+class StyleRuleFontFace;
class StyleSheet;
class StyleSheetCollection;
class StyleSheetContents;
@@ -163,6 +164,8 @@ public:
void clearMasterResolver();
CSSFontSelector* fontSelector() { return m_fontSelector.get(); }
+ void removeFontFaceRules(const Vector<const StyleRuleFontFace*>&);
+ // FIXME: still need to use resetFontSelector when GenericFontFamilySettings is changed.
void resetFontSelector();
void didAttach();

Powered by Google App Engine
This is Rietveld 408576698