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