diff options
Diffstat (limited to 'embed/mozilla/mozilla-download.cpp')
-rw-r--r-- | embed/mozilla/mozilla-download.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-download.cpp b/embed/mozilla/mozilla-download.cpp index 136d05491..455c875a1 100644 --- a/embed/mozilla/mozilla-download.cpp +++ b/embed/mozilla/mozilla-download.cpp @@ -87,7 +87,11 @@ impl_get_target (EphyDownload *download) mozDownload = MOZILLA_DOWNLOAD (download)->priv->moz_download; +#if MOZILLA_SNAPSHOT < 16 mozDownload->GetTarget (getter_AddRefs (targetFile)); +#else + mozDownload->GetTargetFile (getter_AddRefs (targetFile)); +#endif nsCAutoString tempPathStr; targetFile->GetNativePath (tempPathStr); |