Fix crash caused by destroying active popup menu b=266822 r+sr=roc

git-svn-id: svn://10.0.0.236/trunk@164911 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk 2004-11-04 14:11:06 +00:00
parent 365082fada
commit e3f594fd69

View File

@ -2053,6 +2053,7 @@ nsMenuPopupFrame::HandleEvent(nsPresContext* aPresContext,
NS_IMETHODIMP
nsMenuPopupFrame::Destroy(nsPresContext* aPresContext)
{
RemoveKeyboardNavigator();
return nsBoxFrame::Destroy(aPresContext);
}