summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptFactory.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptFactory.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptFactory.java
index 3f3da8e90e..54ff4bb1c3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptFactory.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptFactory.java
@@ -68,7 +68,7 @@ int QueryInterface (long /*int*/ riid, long /*int*/ ppvObject) {
AddRef ();
return XPCOM.NS_OK;
}
- if (guid.Equals (nsIPromptFactory.NS_IPROMPTFACTORY_IID)) {
+ if (guid.Equals (XPCOM.NS_IPROMPTFACTORY_IID)) {
XPCOM.memmove (ppvObject, new long /*int*/[] {factory.getAddress ()}, C.PTR_SIZEOF);
AddRef ();
return XPCOM.NS_OK;
@@ -98,7 +98,7 @@ int GetPrompt (long /*int*/ aParent, long /*int*/ iid, long /*int*/ result) {
AddRef ();
return XPCOM.NS_OK;
}
- if (guid.Equals (nsIAuthPrompt2.NS_IAUTHPROMPT2_IID)) {
+ if (guid.Equals (XPCOM.NS_IAUTHPROMPT2_IID)) {
PromptAuth2 promptAuth = new PromptAuth2();
promptAuth.AddRef ();
promptAuth.setParent (aParent);