aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/AutoJSContextStack.cpp1
-rw-r--r--embed/mozilla/EphyPromptService.cpp2
-rw-r--r--embed/mozilla/EphyPromptService.h2
3 files changed, 2 insertions, 3 deletions
diff --git a/embed/mozilla/AutoJSContextStack.cpp b/embed/mozilla/AutoJSContextStack.cpp
index 77bbb81eb..0098f19eb 100644
--- a/embed/mozilla/AutoJSContextStack.cpp
+++ b/embed/mozilla/AutoJSContextStack.cpp
@@ -24,7 +24,6 @@
#include "AutoJSContextStack.h"
#include <nsIServiceManager.h>
-#include <nsIServiceManagerUtils.h>
AutoJSContextStack::~AutoJSContextStack()
{
diff --git a/embed/mozilla/EphyPromptService.cpp b/embed/mozilla/EphyPromptService.cpp
index 1d251d051..32a158b09 100644
--- a/embed/mozilla/EphyPromptService.cpp
+++ b/embed/mozilla/EphyPromptService.cpp
@@ -878,7 +878,7 @@ EphyPromptService::ShowNonBlockingAlert (nsIDOMWindow *aParent,
if (!prompt) return NS_ERROR_OUT_OF_MEMORY;
prompt->AddStockButton (GTK_STOCK_OK, GTK_RESPONSE_ACCEPT);
- prompt->ShowAndForget ();
+ Prompter::ShowAndForget (prompt);
return NS_OK;
}
diff --git a/embed/mozilla/EphyPromptService.h b/embed/mozilla/EphyPromptService.h
index 915ecf947..064ccf402 100644
--- a/embed/mozilla/EphyPromptService.h
+++ b/embed/mozilla/EphyPromptService.h
@@ -43,7 +43,7 @@ public:
NS_DECL_ISUPPORTS
NS_DECL_NSIPROMPTSERVICE
#if HAVE_NSINONBLOCKINGALERTSERVICE_H
- NS_DECL_NSINONBLOCKINALERTSERVICE
+ NS_DECL_NSINONBLOCKINGALERTSERVICE
#endif
EphyPromptService();