Bug 419147 - "MOZ_XUL define required for nsContentUtils::HidePopupsInDocument" [p=romaxa@gmail.com (romaxa) r+sr=bzbarsky a1.9=beltzner]

git-svn-id: svn://10.0.0.236/trunk@246401 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2008-02-24 07:40:39 +00:00
parent 2fc59542f5
commit 398855e225

View File

@@ -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 */