diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-15 10:11:44 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-15 10:11:44 (GMT) |
commit | 5ecb53176dfb36ad41c4454f9185ed07a3b9d2c0 (patch) | |
tree | 1c93c77edf3ad1b6be5d49c98f491a79dd1c1396 /lib/src/GeckoContentHandler.cpp | |
parent | b4e4b3875a5f31e79415dea17edf48744a5e4573 (diff) |
Fix compilation with firefox
Diffstat (limited to 'lib/src/GeckoContentHandler.cpp')
-rw-r--r-- | lib/src/GeckoContentHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/GeckoContentHandler.cpp b/lib/src/GeckoContentHandler.cpp index 3903185..8b6c9fb 100644 --- a/lib/src/GeckoContentHandler.cpp +++ b/lib/src/GeckoContentHandler.cpp @@ -53,7 +53,7 @@ GeckoContentHandler::PromptForSaveToFile (nsIHelperAppLauncher *aLauncher, NS_UTF16ToCString(nsString(aDefaultFile), NS_CSTRING_ENCODING_UTF8, defaultFile); - nsCOMPtr <nsILocalFile> destFile(do_CreateInstance(NS_LOCAL_FILE_CONTRACTID)); + nsCOMPtr <nsILocalFile> destFile(do_CreateInstance("@mozilla.org/file/local;1")); NS_ENSURE_TRUE(destFile, NS_ERROR_FAILURE); const char * suggested = defaultFile.get(); |