зеркало из https://github.com/mozilla/pjs.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:
Родитель
f6c4dde0ed
Коммит
4264c3730d
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче