Fix Sunbird bustage.

git-svn-id: svn://10.0.0.236/trunk@224388 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterv%propagandism.org 2007-04-11 02:24:16 +00:00
parent 2e94e5c785
commit 0d8c110fd8

View File

@ -2489,7 +2489,7 @@ nsGlobalHistory::BeginUpdateBatch()
++mBatchesInProgress;
PRUint32 i = mObservers.Length();
PRUint32 i = mObservers.Count();
while (i > 0) {
rv = mObservers[i--]->OnBeginUpdateBatch(this);
}
@ -2503,7 +2503,7 @@ nsGlobalHistory::EndUpdateBatch()
--mBatchesInProgress;
PRUint32 i = mObservers.Length();
PRUint32 i = mObservers.Count();
while (i > 0) {
rv = mObservers[i--]->OnEndUpdateBatch(this);
}
@ -3179,7 +3179,7 @@ nsGlobalHistory::NotifyAssert(nsIRDFResource* aSource,
nsIRDFResource* aProperty,
nsIRDFNode* aValue)
{
PRUint32 i = mObservers.Length();
PRUint32 i = mObservers.Count();
while (i > 0) {
mObservers[i--]->OnAssert(this, aSource, aProperty, aValue);
}
@ -3193,7 +3193,7 @@ nsGlobalHistory::NotifyUnassert(nsIRDFResource* aSource,
nsIRDFResource* aProperty,
nsIRDFNode* aValue)
{
PRUint32 i = mObservers.Length();
PRUint32 i = mObservers.Count();
while (i > 0) {
mObservers[i--]->OnUnassert(this, aSource, aProperty, aValue);
}
@ -3209,7 +3209,7 @@ nsGlobalHistory::NotifyChange(nsIRDFResource* aSource,
nsIRDFNode* aOldValue,
nsIRDFNode* aNewValue)
{
PRUint32 i = mObservers.Length();
PRUint32 i = mObservers.Count();
while (i > 0) {
mObservers[i--]->OnChange(this, aSource, aProperty, aOldValue, aNewValue);
}