Bug 1442010, check if the frame has been destroyed before calling UpdateFollowAnchor, r=tn

This commit is contained in:
Neil Deakin 2018-08-31 10:12:17 -04:00
Родитель 83cdfe7284
Коммит 1539c35e73
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -935,6 +935,7 @@ nsXULPopupManager::ShowPopupCallback(nsIContent* aPopup,
item->SetParent(mPopups);
mPopups = item;
SetCaptureState(oldmenu);
NS_ENSURE_TRUE_VOID(weakFrame.IsAlive());
item->UpdateFollowAnchor();