Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com> r+sr=roc git-svn-id: svn://10.0.0.236/trunk@230693 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -5418,6 +5418,7 @@ PresShell::HandleEvent(nsIView *aView,
|
||||
if (framePresContext == rootPresContext &&
|
||||
frame == FrameManager()->GetRootFrame()) {
|
||||
|
||||
#ifdef MOZ_XUL
|
||||
nsXULPopupManager* pm = nsXULPopupManager::GetInstance();
|
||||
if (pm) {
|
||||
nsTArray<nsIFrame*> popups = pm->GetOpenPopups();
|
||||
@@ -5433,6 +5434,7 @@ PresShell::HandleEvent(nsIView *aView,
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
nsPoint eventPoint
|
||||
|
||||
Reference in New Issue
Block a user