mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Fixed build breakage, passing in wrong variable, and it was uninitialized.
This commit is contained in:
parent
38516f87ef
commit
40289849e0
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user