зеркало из https://github.com/mozilla/gecko-dev.git
setting flush flag to false, so it doesn't flush everytime an item is added
r=vidur b=27498
This commit is contained in:
Родитель
0be3cbafce
Коммит
2ab7d2fccc
|
@ -738,7 +738,7 @@ nsHTMLSelectElement::AddOption(nsIContent* aContent)
|
|||
|
||||
// Update the widget
|
||||
nsIFormControlFrame* fcFrame = nsnull;
|
||||
nsresult result = nsGenericHTMLElement::GetPrimaryFrame(this, fcFrame);
|
||||
nsresult result = nsGenericHTMLElement::GetPrimaryFrame(this, fcFrame, PR_FALSE);
|
||||
if (NS_SUCCEEDED(result) && (nsnull != fcFrame)) {
|
||||
nsISelectControlFrame* selectFrame = nsnull;
|
||||
result = fcFrame->QueryInterface(NS_GET_IID(nsISelectControlFrame),(void **) &selectFrame);
|
||||
|
|
|
@ -738,7 +738,7 @@ nsHTMLSelectElement::AddOption(nsIContent* aContent)
|
|||
|
||||
// Update the widget
|
||||
nsIFormControlFrame* fcFrame = nsnull;
|
||||
nsresult result = nsGenericHTMLElement::GetPrimaryFrame(this, fcFrame);
|
||||
nsresult result = nsGenericHTMLElement::GetPrimaryFrame(this, fcFrame, PR_FALSE);
|
||||
if (NS_SUCCEEDED(result) && (nsnull != fcFrame)) {
|
||||
nsISelectControlFrame* selectFrame = nsnull;
|
||||
result = fcFrame->QueryInterface(NS_GET_IID(nsISelectControlFrame),(void **) &selectFrame);
|
||||
|
|
Загрузка…
Ссылка в новой задаче