зеркало из https://github.com/mozilla/pjs.git
Bug 700659 - Slay nsHashSets in gfx/thebes. r=bas
This commit is contained in:
Родитель
c85407f299
Коммит
60cfe46b6d
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче