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

Unified Diff: Source/core/css/CSSSegmentedFontFaceCache.h

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Modified resetFontSelector 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/css/CSSSegmentedFontFaceCache.h
diff --git a/Source/core/css/CSSSegmentedFontFaceCache.h b/Source/core/css/CSSSegmentedFontFaceCache.h
index 06237da84f3081d85969a6d590f77be8a345a5eb..bb4627d1d2fac62653de373d3f35e6667bedad55 100644
--- a/Source/core/css/CSSSegmentedFontFaceCache.h
+++ b/Source/core/css/CSSSegmentedFontFaceCache.h
@@ -48,6 +48,7 @@ public:
// a result of egregious spaghettification in CSSFontFace/FontFaceSet.
void add(CSSFontSelector*, const StyleRuleFontFace*, PassRefPtr<CSSFontFace>);
void remove(const StyleRuleFontFace*);
+ void clear();
void addCSSFontFace(CSSFontSelector*, PassRefPtr<CSSFontFace>, bool cssConnected);
void removeCSSFontFace(CSSFontFace*, bool cssConnected);

Powered by Google App Engine
This is Rietveld 408576698