зеркало из https://github.com/mozilla/gecko-dev.git
Wallpaper for bug 294183 just to reduce the crashing r+sr=bz a=bsmedberg
This commit is contained in:
Родитель
1fa9c0c81b
Коммит
9fe40c5630
|
@ -1375,7 +1375,8 @@ NS_IMETHODIMP nsMenuPopupFrame::SetCurrentMenuItem(nsIMenuFrame* aMenuItem)
|
|||
PRBool isOpen = PR_FALSE;
|
||||
mCurrentMenu->MenuIsOpen(isOpen);
|
||||
mCurrentMenu->SelectMenu(PR_FALSE);
|
||||
if (isOpen) {
|
||||
// XXX bug 294183 sometimes mCurrentMenu gets cleared
|
||||
if (mCurrentMenu && isOpen) {
|
||||
// Don't close up immediately.
|
||||
// Kick off a close timer.
|
||||
KillCloseTimer(); // Ensure we don't have another stray waiting closure.
|
||||
|
|
Загрузка…
Ссылка в новой задаче