Bug 898209 patch 7: Fix remaining variable shadowing warning. r=heycam

This commit is contained in:
L. David Baron 2013-07-30 17:36:10 -07:00
parent 529ddab6a0
commit 18534428b7

View File

@ -2620,9 +2620,10 @@ ElementRestyler::Restyle(nsStyleChangeList *aChangeList,
// Process children staying shown.
uint32_t visibleContentCount = aVisibleKidsOfHiddenElement.Length();
for (uint32_t idx = 0; idx < visibleContentCount; idx++) {
nsIContent* content = aVisibleKidsOfHiddenElement[idx];
accService->ContentRangeInserted(presShell, content->GetParent(),
content, content->GetNextSibling());
nsIContent* childContent = aVisibleKidsOfHiddenElement[idx];
accService->ContentRangeInserted(presShell, childContent->GetParent(),
childContent,
childContent->GetNextSibling());
}
aVisibleKidsOfHiddenElement.Clear();
}