diff --git a/mozilla/layout/forms/nsComboboxControlFrame.cpp b/mozilla/layout/forms/nsComboboxControlFrame.cpp index f88a9ef1eac..e3317e62d6f 100644 --- a/mozilla/layout/forms/nsComboboxControlFrame.cpp +++ b/mozilla/layout/forms/nsComboboxControlFrame.cpp @@ -197,9 +197,6 @@ nsComboboxControlFrame::InitTextStr(PRBool aUpdate) nsIFrame* dropdownFrame = GetDropdownFrame(); nsresult result = dropdownFrame->QueryInterface(kIFormControlFrameIID, (void**)&fcFrame); - // Reset the list, so we can ask it for it's selected item. - fcFrame->Reset(); - // Update the selected text string mListControlFrame->GetSelectedItem(mTextStr); diff --git a/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp b/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp index f88a9ef1eac..e3317e62d6f 100644 --- a/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp +++ b/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp @@ -197,9 +197,6 @@ nsComboboxControlFrame::InitTextStr(PRBool aUpdate) nsIFrame* dropdownFrame = GetDropdownFrame(); nsresult result = dropdownFrame->QueryInterface(kIFormControlFrameIID, (void**)&fcFrame); - // Reset the list, so we can ask it for it's selected item. - fcFrame->Reset(); - // Update the selected text string mListControlFrame->GetSelectedItem(mTextStr);