mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
added bool parm to is DoneAddinContent r=dcone bug 18241
This commit is contained in:
parent
04480d28f4
commit
31776f0714
@ -1084,14 +1084,15 @@ nsComboboxControlFrame::SelectionChanged()
|
||||
// nsISelectControlFrame
|
||||
//----------------------------------------------------------------------
|
||||
NS_IMETHODIMP
|
||||
nsComboboxControlFrame::DoneAddingContent()
|
||||
nsComboboxControlFrame::DoneAddingContent(PRBool aIsDone)
|
||||
{
|
||||
|
||||
nsISelectControlFrame* listFrame = nsnull;
|
||||
nsIFrame* dropdownFrame = GetDropdownFrame();
|
||||
nsresult rv = dropdownFrame->QueryInterface(NS_GET_IID(nsISelectControlFrame),
|
||||
(void**)&listFrame);
|
||||
if (NS_SUCCEEDED(rv) && listFrame) {
|
||||
rv = listFrame->DoneAddingContent();
|
||||
rv = listFrame->DoneAddingContent(aIsDone);
|
||||
NS_RELEASE(listFrame);
|
||||
}
|
||||
return rv;
|
||||
|
@ -1084,14 +1084,15 @@ nsComboboxControlFrame::SelectionChanged()
|
||||
// nsISelectControlFrame
|
||||
//----------------------------------------------------------------------
|
||||
NS_IMETHODIMP
|
||||
nsComboboxControlFrame::DoneAddingContent()
|
||||
nsComboboxControlFrame::DoneAddingContent(PRBool aIsDone)
|
||||
{
|
||||
|
||||
nsISelectControlFrame* listFrame = nsnull;
|
||||
nsIFrame* dropdownFrame = GetDropdownFrame();
|
||||
nsresult rv = dropdownFrame->QueryInterface(NS_GET_IID(nsISelectControlFrame),
|
||||
(void**)&listFrame);
|
||||
if (NS_SUCCEEDED(rv) && listFrame) {
|
||||
rv = listFrame->DoneAddingContent();
|
||||
rv = listFrame->DoneAddingContent(aIsDone);
|
||||
NS_RELEASE(listFrame);
|
||||
}
|
||||
return rv;
|
||||
|
Loading…
Reference in New Issue
Block a user