Fix Sunbird bustage.
git-svn-id: svn://10.0.0.236/trunk@224388 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2e94e5c785
commit
0d8c110fd8
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user