Add nsFontCache to leak and bloat stats. r=waterson

This commit is contained in:
dbaron%fas.harvard.edu 2000-08-21 13:04:18 +00:00
Родитель a487d7a839
Коммит 4203def1d1
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -673,13 +673,17 @@ NS_IMETHODIMP DeviceContextImpl::GetPaletteInfo(nsPaletteInfo& aPaletteInfo)
/////////////////////////////////////////////////////////////
MOZ_DECL_CTOR_COUNTER(nsFontCache);
nsFontCache :: nsFontCache()
{
MOZ_COUNT_CTOR(nsFontCache);
mContext = nsnull;
}
nsFontCache :: ~nsFontCache()
{
MOZ_COUNT_DTOR(nsFontCache);
Flush();
}