Fix for bug 376854 (CycleCollector depends on uninitialized values (ageSelectionCallback and nsPurpleBuffer::BumpGeneration)). r/sr=dbaron.

This commit is contained in:
peterv@propagandism.org 2007-04-25 11:33:55 -07:00
Родитель c103a4e640
Коммит f66cd8c4f5
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -438,6 +438,7 @@ struct nsPurpleBuffer
nsCycleCollectorStats &stats)
: mParams(params),
mStats(stats),
mCurrGen(0),
mTransferBuffer(nsnull)
{
Init();
@ -445,6 +446,7 @@ struct nsPurpleBuffer
#else
nsPurpleBuffer(nsCycleCollectorParams &params)
: mParams(params),
mCurrGen(0),
mTransferBuffer(nsnull)
{
Init();