mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 05:47:04 +00:00
Bug 898209 patch 7: Fix remaining variable shadowing warning. r=heycam
This commit is contained in:
parent
d81ab3552b
commit
8340d616ac
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user