diff --git a/mozilla/xpfe/components/download-manager/src/nsDownloadManager.cpp b/mozilla/xpfe/components/download-manager/src/nsDownloadManager.cpp index d355c7d8498..4e898e0c5b4 100644 --- a/mozilla/xpfe/components/download-manager/src/nsDownloadManager.cpp +++ b/mozilla/xpfe/components/download-manager/src/nsDownloadManager.cpp @@ -62,9 +62,7 @@ #include "nsIProfileChangeStatus.h" #include "nsIPrefService.h" #include "nsIFileURL.h" -#ifndef MOZ_THUNDERBIRD #include "nsIAlertsService.h" -#endif #include "nsEmbedCID.h" #include "nsInt64.h" @@ -1174,7 +1172,6 @@ nsDownload::OnStatusChange(nsIWebProgress *aWebProgress, void nsDownload::DisplayDownloadFinishedAlert() { nsresult rv; -#ifndef MOZ_THUNDERBIRD nsCOMPtr alertsService(do_GetService(NS_ALERTSERVICE_CONTRACTID, &rv)); if (NS_FAILED(rv)) return; @@ -1205,7 +1202,6 @@ void nsDownload::DisplayDownloadFinishedAlert() alertsService->ShowAlertNotification(NS_LITERAL_STRING("moz-icon://") + NS_ConvertUTF8toUTF16(url), finishedTitle, finishedText, PR_TRUE, NS_LITERAL_STRING("download"), this); -#endif } NS_IMETHODIMP