зеркало из https://github.com/mozilla/gecko-dev.git
bug 724356 - check the proxy's family pointer is still valid before using it. r=jdaggett
This commit is contained in:
Родитель
7a1abbaffe
Коммит
951d7fc669
|
@ -707,8 +707,11 @@ nsUserFontSet::ReplaceFontEntry(gfxProxyFontEntry *aProxy,
|
|||
break;
|
||||
}
|
||||
}
|
||||
static_cast<gfxMixedFontFamily*>(aProxy->Family())->
|
||||
ReplaceFontEntry(aProxy, aFontEntry);
|
||||
gfxMixedFontFamily *family =
|
||||
static_cast<gfxMixedFontFamily*>(aProxy->Family());
|
||||
if (family) {
|
||||
family->ReplaceFontEntry(aProxy, aFontEntry);
|
||||
}
|
||||
}
|
||||
|
||||
nsCSSFontFaceRule*
|
||||
|
|
Загрузка…
Ссылка в новой задаче