Backing out 406686 again
This commit is contained in:
@@ -1179,7 +1179,9 @@ DocumentViewerImpl::PageHide(PRBool aIsUnload)
|
||||
#ifdef MOZ_XUL
|
||||
// look for open menupopups and close them after the unload event, in case
|
||||
// the unload event listeners open any new popups
|
||||
nsContentUtils::HidePopupsInDocument(mDocument);
|
||||
nsXULPopupManager* pm = nsXULPopupManager::GetInstance();
|
||||
if (pm && mDocument)
|
||||
pm->HidePopupsInDocument(mDocument);
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user