Remove redundant reset() call.
git-svn-id: svn://10.0.0.236/trunk@48249 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
415eee3b6c
commit
5d0f554d73
@ -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);
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user