fix for PDT+, topembed, nsbranch+ bug 78857, an assertion caused by the event pool code. r=heikki, sr=jst

This commit is contained in:
saari%netscape.com 2001-09-27 22:41:40 +00:00
Родитель 5dacb7b001
Коммит 12bce05c13
2 изменённых файлов: 3 добавлений и 4 удалений

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

@ -76,8 +76,10 @@ static char* mEventNames[] = {
"DOMAttrModified", "DOMCharacterDataModified"
};
/** event pool used as a simple recycler for objects of this class */
static PRUint8 gEventPool[ sizeof(nsDOMEvent) ];
/* declare static class data */
nsDOMEvent nsDOMEvent::gEventPool;
PRBool nsDOMEvent::gEventPoolInUse=PR_FALSE;
#ifdef NS_DEBUG // metrics for measuring event pool use

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

@ -223,9 +223,6 @@ protected:
nsDOMEvent() {}; // private constructor for pool, not for general use
/** event pool used as a simple recycler for objects of this class */
static nsDOMEvent gEventPool;
/** bit to say whether the event pool is in use or not.
* note that it would be trivial to make this a bitmap if we ever
* wanted to increase the size of the pool from one. But with our