mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 947626 - Fix index types in nsCOMArray CC helpers and remove whitespace. r=froydnj
This commit is contained in:
parent
d206368243
commit
6e48581b17
@ -193,8 +193,8 @@ ImplCycleCollectionTraverse(nsCycleCollectionTraversalCallback& aCallback,
|
||||
uint32_t aFlags = 0)
|
||||
{
|
||||
aFlags |= CycleCollectionEdgeNameArrayFlag;
|
||||
size_t length = aField.Count();
|
||||
for (size_t i = 0; i < length; ++i) {
|
||||
int32_t length = aField.Count();
|
||||
for (int32_t i = 0; i < length; ++i) {
|
||||
CycleCollectionNoteChild(aCallback, aField[i], aName, aFlags);
|
||||
}
|
||||
}
|
||||
@ -408,8 +408,8 @@ ImplCycleCollectionTraverse(nsCycleCollectionTraversalCallback& aCallback,
|
||||
uint32_t aFlags = 0)
|
||||
{
|
||||
aFlags |= CycleCollectionEdgeNameArrayFlag;
|
||||
size_t length = aField.Count();
|
||||
for (size_t i = 0; i < length; ++i) {
|
||||
int32_t length = aField.Count();
|
||||
for (int32_t i = 0; i < length; ++i) {
|
||||
CycleCollectionNoteChild(aCallback, aField[i], aName, aFlags);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user