aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 9dba24c9b..fcc8ee93e 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -109,7 +109,11 @@ static const nsModuleComponentInfo sAppComps[] = {
{
MOZ_DOWNLOAD_CLASSNAME,
MOZ_DOWNLOAD_CID,
+#ifdef NS_TRANSFER_CONTRACTID
+ NS_TRANSFER_CONTRACTID,
+#else
NS_DOWNLOAD_CONTRACTID,
+#endif
MozDownloadConstructor
},
#ifdef ENABLE_FILEPICKER