зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 376854 (CycleCollector depends on uninitialized values (ageSelectionCallback and nsPurpleBuffer::BumpGeneration)). r/sr=dbaron.
This commit is contained in:
Родитель
c103a4e640
Коммит
f66cd8c4f5
|
@ -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 ¶ms)
|
||||
: mParams(params),
|
||||
mCurrGen(0),
|
||||
mTransferBuffer(nsnull)
|
||||
{
|
||||
Init();
|
||||
|
|
Загрузка…
Ссылка в новой задаче