Bug 991407: Remove unused class gfxFontNameList. r=jdaggett

This commit is contained in:
Daniel Holbert 2014-04-02 21:37:37 -07:00
parent 852403f45d
commit cb44c1df9a
2 changed files with 0 additions and 16 deletions

View File

@ -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;
}

View File

@ -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();