| Index: Source/core/css/CSSSegmentedFontFaceCache.h
|
| diff --git a/Source/core/css/CSSSegmentedFontFaceCache.h b/Source/core/css/CSSSegmentedFontFaceCache.h
|
| index e753dd780989853f92a16f9a8d6c9ef815563588..c18220906eb1504d2dc597a50edfab215203376e 100644
|
| --- a/Source/core/css/CSSSegmentedFontFaceCache.h
|
| +++ b/Source/core/css/CSSSegmentedFontFaceCache.h
|
| @@ -45,9 +45,11 @@ public:
|
|
|
| // FIXME: Remove CSSFontSelector as argument. Passing CSSFontSelector here is
|
| // a result of egregious spaghettification in CSSFontFace/FontFaceSet.
|
| - void addFontFaceRule(CSSFontSelector*, const StyleRuleFontFace*);
|
| - void removeFontFaceRule(const StyleRuleFontFace*);
|
| - CSSSegmentedFontFace* getFontFace(const FontDescription&, const AtomicString& family);
|
| + void add(CSSFontSelector*, const StyleRuleFontFace*, PassRefPtr<CSSFontFace>);
|
| + void remove(const StyleRuleFontFace*);
|
| + // FIXME: It's sort of weird that add/remove uses StyleRuleFontFace* as key,
|
| + // but this function uses FontDescription/family pair.
|
| + CSSSegmentedFontFace* get(const FontDescription&, const AtomicString& family);
|
|
|
| unsigned version() const { return m_version; }
|
|
|
|
|