Bug 1173579 - Take the first valid default font. r=jdagget

This commit is contained in:
Milan Sreckovic 2015-07-21 14:22:25 -04:00
parent af478d2bb6
commit c46f24fc84

View File

@ -1889,6 +1889,9 @@ gfxFontGroup::GetDefaultFont()
needsBold);
if (fe) {
mDefaultFont = fe->FindOrMakeFont(&mStyle, needsBold);
if (mDefaultFont) {
break;
}
}
}
}