backout changeset bcd556d83109 (bug 721315) for reftest orange.

This commit is contained in:
Jonathan Kew 2012-01-28 09:37:15 +00:00
parent 728a9cf4ae
commit 6878bcf36d

View File

@ -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; }