summaryrefslogtreecommitdiff
path: root/dom/base/nsFrameLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsFrameLoader.cpp')
-rw-r--r--dom/base/nsFrameLoader.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/dom/base/nsFrameLoader.cpp b/dom/base/nsFrameLoader.cpp
index b4397d063..58b7a9336 100644
--- a/dom/base/nsFrameLoader.cpp
+++ b/dom/base/nsFrameLoader.cpp
@@ -102,9 +102,7 @@
#include "nsPrincipal.h"
-#ifdef MOZ_XUL
#include "nsXULPopupManager.h"
-#endif
#ifdef NS_PRINTING
#include "mozilla/embedding/printingui/PrintingParent.h"
@@ -3156,14 +3154,12 @@ nsFrameLoader::AttributeChanged(nsIDocument* aDocument,
bool is_primary = value.LowerCaseEqualsLiteral("content-primary");
-#ifdef MOZ_XUL
// when a content panel is no longer primary, hide any open popups it may have
if (!is_primary) {
nsXULPopupManager* pm = nsXULPopupManager::GetInstance();
if (pm)
pm->HidePopupsInDocShell(mDocShell);
}
-#endif
parentTreeOwner->ContentShellRemoved(mDocShell);
if (value.LowerCaseEqualsLiteral("content") ||