Fixing MacOS native menu leak
git-svn-id: svn://10.0.0.236/trunk@64554 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -919,6 +919,9 @@ void nsWebShellWindow::DynamicLoadMenus(nsIDOMDocument * aDOMDoc, nsIWidget * aP
|
||||
nsMenuEvent fake;
|
||||
menuListener->MenuConstruct(fake, aParentWindow, menubarNode, mWebShell);
|
||||
|
||||
// Parent should own menubar now
|
||||
NS_RELEASE(pnsMenuBar);
|
||||
|
||||
#ifdef USE_NATIVE_MENUS
|
||||
#else
|
||||
// Resize around the menu.
|
||||
|
||||
Reference in New Issue
Block a user