mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 419147 - "MOZ_XUL define required for nsContentUtils::HidePopupsInDocument" [p=romaxa@gmail.com (romaxa) r+sr=bzbarsky a1.9=beltzner]
This commit is contained in:
parent
eda8f31292
commit
6beee60bf2
@ -3965,6 +3965,7 @@ nsContentUtils::HidePopupsInDocument(nsIDocument* aDocument)
|
||||
{
|
||||
NS_PRECONDITION(aDocument, "Null document");
|
||||
|
||||
#ifdef MOZ_XUL
|
||||
nsXULPopupManager* pm = nsXULPopupManager::GetInstance();
|
||||
if (pm) {
|
||||
nsCOMPtr<nsISupports> container = aDocument->GetContainer();
|
||||
@ -3972,6 +3973,7 @@ nsContentUtils::HidePopupsInDocument(nsIDocument* aDocument)
|
||||
if (docShellToHide)
|
||||
pm->HidePopupsInDocShell(docShellToHide);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/* static */
|
||||
|
Loading…
Reference in New Issue
Block a user