aboutsummaryrefslogtreecommitdiffstats
path: root/embed/xulrunner/src/AutoWindowModalState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/xulrunner/src/AutoWindowModalState.cpp')
-rw-r--r--embed/xulrunner/src/AutoWindowModalState.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/embed/xulrunner/src/AutoWindowModalState.cpp b/embed/xulrunner/src/AutoWindowModalState.cpp
index ca7596b38..f64790214 100644
--- a/embed/xulrunner/src/AutoWindowModalState.cpp
+++ b/embed/xulrunner/src/AutoWindowModalState.cpp
@@ -25,19 +25,15 @@
AutoWindowModalState::AutoWindowModalState (nsIDOMWindow *aWindow)
{
-#ifdef HAVE_GECKO_1_9
mWindow = do_QueryInterface (aWindow);
if (mWindow) {
mWindow->EnterModalState ();
}
-#endif
}
AutoWindowModalState::~AutoWindowModalState()
{
-#ifdef HAVE_GECKO_1_9
if (mWindow) {
mWindow->LeaveModalState ();
}
-#endif
}