diff --git a/xpfe/components/download-manager/src/nsDownloadManager.cpp b/xpfe/components/download-manager/src/nsDownloadManager.cpp index d75dafac0d6..1d16c366362 100644 --- a/xpfe/components/download-manager/src/nsDownloadManager.cpp +++ b/xpfe/components/download-manager/src/nsDownloadManager.cpp @@ -178,13 +178,8 @@ nsDownloadManager::GetProfileDownloadsFileURL(char** aDownloadsFileURL) nsresult nsDownloadManager::GetDownloadsContainer(nsIRDFContainer** aResult) { - nsresult rv; - - nsCOMPtr rdfC(do_GetService(NS_RDF_CONTRACTID "/container-utils;1", &rv)); - if (NS_FAILED(rv)) return rv; - PRBool isContainer; - rv = mRDFContainerUtils->IsContainer(mDataSource, gNC_DownloadsRoot, &isContainer); + nsresult rv = mRDFContainerUtils->IsContainer(mDataSource, gNC_DownloadsRoot, &isContainer); if (NS_FAILED(rv)) return rv; nsCOMPtr ctr;