Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib/src/GeckoContentHandler.cpp
diff options
context:
space:
mode:
authorMarco 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)
commit5ecb53176dfb36ad41c4454f9185ed07a3b9d2c0 (patch)
tree1c93c77edf3ad1b6be5d49c98f491a79dd1c1396 /lib/src/GeckoContentHandler.cpp
parentb4e4b3875a5f31e79415dea17edf48744a5e4573 (diff)
Fix compilation with firefox
Diffstat (limited to 'lib/src/GeckoContentHandler.cpp')
-rw-r--r--lib/src/GeckoContentHandler.cpp2
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();