зеркало из https://github.com/mozilla/gecko-dev.git
bug 424566. fix crash in font selection. r/a=vlad
This commit is contained in:
Родитель
034616f462
Коммит
397473b752
|
@ -574,7 +574,7 @@ gfxWindowsPlatform::FontResolveProc(const ENUMLOGFONTEXW *lpelfe,
|
|||
|
||||
struct FontSearch {
|
||||
FontSearch(PRUint32 aCh, gfxWindowsFont *aFont) :
|
||||
ch(aCh), fontToMatch(aFont), matchRank(0) {
|
||||
ch(aCh), fontToMatch(aFont), matchRank(-1) {
|
||||
}
|
||||
PRUint32 ch;
|
||||
nsRefPtr<gfxWindowsFont> fontToMatch;
|
||||
|
|
Загрузка…
Ссылка в новой задаче