зеркало из https://github.com/mozilla/pjs.git
106092 - trunk m1br m100 n70pr1 topcrash @nsMenuFrame::OpenMenu. r=brade sr=ben
This commit is contained in:
Родитель
52a3e39f51
Коммит
f670e7d6b8
|
@ -742,6 +742,9 @@ nsMenuFrame::AttributeChanged(nsIPresContext* aPresContext,
|
|||
NS_IMETHODIMP
|
||||
nsMenuFrame::OpenMenu(PRBool aActivateFlag)
|
||||
{
|
||||
if (!mContent)
|
||||
return NS_OK;
|
||||
|
||||
nsCOMPtr<nsIDOMElement> domElement(do_QueryInterface(mContent));
|
||||
if (aActivateFlag) {
|
||||
// Now that the menu is opened, we should have a menupopup child built.
|
||||
|
|
Загрузка…
Ссылка в новой задаче