Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/browser/GeckoDownload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'browser/GeckoDownload.cpp')
-rw-r--r--browser/GeckoDownload.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/browser/GeckoDownload.cpp b/browser/GeckoDownload.cpp
index 6f099bd..2ec1fe4 100644
--- a/browser/GeckoDownload.cpp
+++ b/browser/GeckoDownload.cpp
@@ -86,7 +86,6 @@ GeckoDownload::OnStateChange(nsIWebProgress *aWebProgress,
mMIMEInfo->GetMIMEType(mimeType);
mSource->GetSpec(url);
-#ifdef HAVE_GECKO_1_9
/* If the file is application/octet-stream, look up a better mime type
from the extension. */
if(mimeType.Equals(APPLICATION_OCTET_STREAM)) {
@@ -106,7 +105,6 @@ GeckoDownload::OnStateChange(nsIWebProgress *aWebProgress,
}
}
}
-#endif
sugar_download_manager_download_started(download_manager,
url.get(),
@@ -187,8 +185,6 @@ GeckoDownload::OnSecurityChange (nsIWebProgress *aWebProgress,
return NS_OK;
}
-#ifdef HAVE_GECKO_1_9
-
NS_IMETHODIMP
GeckoDownload::OnRefreshAttempted (nsIWebProgress *aWebProgress,
nsIURI *aRefreshURI,
@@ -199,8 +195,6 @@ GeckoDownload::OnRefreshAttempted (nsIWebProgress *aWebProgress,
return NS_OK;
}
-#endif
-
//*****************************************************************************
// GeckoDownloadFactory
//*****************************************************************************