aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index 78135fe35..407967b87 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -257,37 +257,28 @@ NS_IMETHODIMP EphyHeaderSniffer::Prompt (const PRUnichar *dialogTitle, const PRU
const PRUnichar *passwordRealm, PRUint32 savePassword,
const PRUnichar *defaultText, PRUnichar **result, PRBool *_retval)
{
- PRBool checkValue;
-
if (defaultText) *result = ToNewUnicode(nsDependentString(defaultText));
- checkValue = savePassword;
return mPrompt->Prompt (nsnull, dialogTitle, text, result,
- passwordRealm, &checkValue, _retval);
+ nsnull, nsnull, _retval);
}
NS_IMETHODIMP EphyHeaderSniffer::PromptUsernameAndPassword (const PRUnichar *dialogTitle, const PRUnichar *text,
const PRUnichar *passwordRealm, PRUint32 savePassword,
PRUnichar **user, PRUnichar **pwd, PRBool *_retval)
{
- PRBool checkValue;
-
*_retval = savePassword;
- checkValue = savePassword;
return mPrompt->PromptUsernameAndPassword (nsnull, dialogTitle, text, user, pwd,
- passwordRealm, &checkValue, _retval);
+ nsnull, nsnull, _retval);
}
NS_IMETHODIMP EphyHeaderSniffer::PromptPassword (const PRUnichar *dialogTitle, const PRUnichar *text,
const PRUnichar *passwordRealm, PRUint32 savePassword,
PRUnichar **pwd, PRBool *_retval)
{
- PRBool checkValue;
-
*_retval = savePassword;
- checkValue = savePassword;
return mPrompt->PromptPassword (nsnull, dialogTitle, text, pwd,
- passwordRealm, &checkValue, _retval);
+ nsnull, nsnull, _retval);
}