diff options
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 4c2786632..3d23a6b46 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -44,6 +44,7 @@ #include <nsIFile.h> #include <nsIIOService.h> #include <nsILocalFile.h> +#include <nsIPassword.h> #include <nsIPasswordManager.h> #include <nsIPermission.h> #include <nsIPermissionManager.h> @@ -60,10 +61,6 @@ #include <nsIX509CertDB.h> #endif -#ifdef HAVE_NSIPASSWORD_H -#include <nsIPassword.h> -#endif - #ifdef ALLOW_PRIVATE_API #include <nsICacheService.h> #include <nsIFontEnumerator.h> @@ -879,9 +876,7 @@ impl_list_passwords (EphyPasswordManager *manager) { GList *passwords = NULL; -#ifdef HAVE_NSIPASSWORD_H nsresult rv; - nsCOMPtr<nsIPasswordManager> passwordManager = do_GetService (NS_PASSWORDMANAGER_CONTRACTID); if (!passwordManager) return NULL; @@ -933,7 +928,6 @@ impl_list_passwords (EphyPasswordManager *manager) passwords = g_list_prepend (passwords, p); } -#endif return passwords; } |