зеркало из https://github.com/mozilla/gecko-dev.git
backout changeset bcd556d83109 (bug 721315) for reftest orange.
This commit is contained in:
Родитель
728a9cf4ae
Коммит
6878bcf36d
|
@ -512,18 +512,7 @@ public:
|
|||
mIsBadUnderlineFamily(false)
|
||||
{ }
|
||||
|
||||
virtual ~gfxFontFamily() {
|
||||
// clear Family pointers in our faces; the font entries might stay
|
||||
// alive due to cached font objects, but they can no longer refer
|
||||
// to their families.
|
||||
PRUint32 i = mAvailableFonts.Length();
|
||||
while (i) {
|
||||
gfxFontEntry *fe = mAvailableFonts[--i];
|
||||
if (fe) {
|
||||
fe->SetFamily(nsnull);
|
||||
}
|
||||
}
|
||||
}
|
||||
virtual ~gfxFontFamily() { }
|
||||
|
||||
const nsString& Name() { return mName; }
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче