mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 991407: Remove unused class gfxFontNameList. r=jdaggett
This commit is contained in:
parent
852403f45d
commit
cb44c1df9a
@ -1078,12 +1078,3 @@ gfxFontconfigUtils::GetFontsForLang(const FcChar8 *aLang)
|
||||
|
||||
return entry->mFonts;
|
||||
}
|
||||
|
||||
bool
|
||||
gfxFontNameList::Exists(nsAString& aName) {
|
||||
for (uint32_t i = 0; i < Length(); i++) {
|
||||
if (aName.Equals(ElementAt(i)))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -53,13 +53,6 @@ class gfxIgnoreCaseCStringComparator
|
||||
}
|
||||
};
|
||||
|
||||
class gfxFontNameList : public nsTArray<nsString>
|
||||
{
|
||||
public:
|
||||
NS_INLINE_DECL_REFCOUNTING(gfxFontNameList)
|
||||
bool Exists(nsAString& aName);
|
||||
};
|
||||
|
||||
class gfxFontconfigUtils {
|
||||
public:
|
||||
gfxFontconfigUtils();
|
||||
|
Loading…
Reference in New Issue
Block a user