aboutsummaryrefslogtreecommitdiffstats
path: root/embed/xulrunner/components/GeckoPromptService.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/xulrunner/components/GeckoPromptService.h')
-rw-r--r--embed/xulrunner/components/GeckoPromptService.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/embed/xulrunner/components/GeckoPromptService.h b/embed/xulrunner/components/GeckoPromptService.h
index b2ef610b8..ce48aded9 100644
--- a/embed/xulrunner/components/GeckoPromptService.h
+++ b/embed/xulrunner/components/GeckoPromptService.h
@@ -22,10 +22,8 @@
#define GECKO_PROMPT_SERVICE_H
#include <nsIPromptService.h>
-
-#if HAVE_NSINONBLOCKINGALERTSERVICE_H
+#include <nsIPromptService2.h>
#include <nsINonBlockingAlertService.h>
-#endif
#define GECKO_PROMPT_SERVICE_CID \
{ /* cadc6035-7c53-4039-823b-004a289d5eb2 */ \
@@ -34,17 +32,14 @@
#define GECKO_PROMPT_SERVICE_CLASSNAME "Gecko Prompt Service"
-class GeckoPromptService : public nsIPromptService
-#if HAVE_NSINONBLOCKINGALERTSERVICE_H
- , public nsINonBlockingAlertService
-#endif
+class GeckoPromptService : public nsIPromptService2,
+ public nsINonBlockingAlertService
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIPROMPTSERVICE
-#if HAVE_NSINONBLOCKINGALERTSERVICE_H
+ NS_DECL_NSIPROMPTSERVICE2
NS_DECL_NSINONBLOCKINGALERTSERVICE
-#endif
GeckoPromptService();
virtual ~GeckoPromptService();