Make sure we can rely on mDirty being false when the list is not dirty. Bug

367906 , r+sr=dbaron
This commit is contained in:
bzbarsky%mit.edu 2007-01-23 23:45:54 +00:00
parent 94dc4f9ced
commit 01bcca00c3

View File

@ -186,7 +186,9 @@ inline void nsCounterNode::Calc(nsCounterList* aList)
class nsCounterList : public nsGenConList {
public:
nsCounterList() : nsGenConList() {}
nsCounterList() : nsGenConList(),
mDirty(PR_FALSE)
{}
void Insert(nsCounterNode* aNode) {
nsGenConList::Insert(aNode);