fix for bug 40084, [CRASH] Crash in disk cache code, backed out changes made on 7/27, put new fix

git-svn-id: svn://10.0.0.236/trunk@75138 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neeti%netscape.com 2000-07-29 02:30:30 +00:00
parent c69750c8cd
commit ec6f6a23f7
2 changed files with 0 additions and 10 deletions

View File

@ -62,7 +62,6 @@ pref("browser.cache.disk_cache_size", 7680);
pref("browser.cache.enable", true);
pref("browser.cache.disk.enable", true);
pref("browser.cache.memory_cache_size", 1024);
pref("browser.cache.num.accessed.limit", 100);
pref("browser.cache.disk_cache_ssl", false);
pref("browser.display.foreground_color", "#000000");
pref("browser.display.background_color", "#C0C0C0");

View File

@ -109,8 +109,6 @@
#include "nsIDocShellHistory.h"
#include "nsINetDataCacheManager.h"
// Interface for "unknown content type handler" component/service.
#include "nsIUnkContentTypeHandler.h"
@ -1530,13 +1528,6 @@ nsBrowserInstance::OnEndDocumentLoad(nsIDocumentLoader* aLoader, nsIChannel* cha
}
} //if (!isFrame)
// Get the cache manager service
NS_WITH_SERVICE(nsINetDataCacheManager, cacheManager,
NS_NETWORK_CACHE_MANAGER_PROGID, &rv);
if (NS_SUCCEEDED(rv)) {
cacheManager->RecoveryCleanup();
}
#ifdef DEBUG_warren
char* urls;
aUrl->GetSpec(&urls);