Bug 700659 - Slay nsHashSets in gfx/thebes. r=bas

This commit is contained in:
Nathan Froyd 2011-11-08 15:22:04 -05:00
parent 26ae302da8
commit 56b8047d2b
2 changed files with 3 additions and 3 deletions

View File

@ -281,7 +281,7 @@ gfxPlatformFontList::LoadBadUnderlineList()
for (PRUint32 i = 0; i < numFonts; i++) {
nsAutoString key;
GenerateFontListKey(blacklist[i], key);
mBadUnderlineFamilyNames.Put(key);
mBadUnderlineFamilyNames.PutEntry(key);
}
}

View File

@ -40,7 +40,7 @@
#include "nsDataHashtable.h"
#include "nsRefPtrHashtable.h"
#include "nsHashSets.h"
#include "nsTHashtable.h"
#include "gfxFontUtils.h"
#include "gfxFont.h"
@ -214,7 +214,7 @@ protected:
// on pages with lots of problems
nsString mReplacementCharFallbackFamily;
nsStringHashSet mBadUnderlineFamilyNames;
nsTHashtable<nsStringHashKey> mBadUnderlineFamilyNames;
// data used as part of the font cmap loading process
nsTArray<nsRefPtr<gfxFontFamily> > mFontFamiliesToLoad;