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:
parent
c69750c8cd
commit
ec6f6a23f7
@ -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");
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user