mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
106092 - trunk m1br m100 n70pr1 topcrash @nsMenuFrame::OpenMenu. r=brade sr=ben
This commit is contained in:
parent
af924e2843
commit
bbe207a207
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user