Bug 1118981 - initialize mSkipDrawing correctly for already loading fonts. r=jfkthame

This commit is contained in:
John Daggett 2015-01-15 13:22:32 +09:00
parent 2c93df25c4
commit 90597619b9

View File

@ -1703,7 +1703,9 @@ gfxFontGroup::FindPlatformFont(const nsAString& aName,
uint32_t count = userfonts.Length();
for (uint32_t i = 0; i < count; i++) {
fe = userfonts[i];
mFonts.AppendElement(FamilyFace(family, fe, needsBold));
FamilyFace ff(family, fe, needsBold);
ff.CheckState(mSkipDrawing);
mFonts.AppendElement(ff);
}
}
}