Fixed build breakage, passing in wrong variable, and it was uninitialized.

git-svn-id: svn://10.0.0.236/trunk@42553 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-08-06 21:45:14 +00:00
parent df2f27f1be
commit 22ceb9955b
2 changed files with 2 additions and 2 deletions

View File

@@ -4315,7 +4315,7 @@ nsCSSFrameConstructor::ContentAppended(nsIPresContext* aPresContext,
(void**)getter_AddRefs(selectElement));
if (NS_SUCCEEDED(res) && selectElement) {
nsCOMPtr<nsIContent> childContent;
aContainer->ChildAt(i, *getter_AddRefs(childContent));
aContainer->ChildAt(aNewIndexInContainer, *getter_AddRefs(childContent));
if (childContent) {
RemoveDummyFrameFromSelect(aPresContext, shell, aContainer, childContent, selectElement);
}