fix for bug 43345.browser.cache.enable check, r=warren/gagan
git-svn-id: svn://10.0.0.236/trunk@73059 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
dce6bd2291
commit
734b991480
@ -807,7 +807,6 @@ nsHTTPChannel::CheckCache()
|
||||
// retrieve an existing cache entry or create a new one.
|
||||
if (!mCacheEntry) {
|
||||
|
||||
#if defined(XP_PC) || defined(XP_MAC) || defined(XP_UNIX)
|
||||
// Temporary code to disable cache on platforms where it is not
|
||||
// known to work
|
||||
static NS_DEFINE_CID(kPrefServiceCID, NS_PREF_CID);
|
||||
@ -818,7 +817,6 @@ nsHTTPChannel::CheckCache()
|
||||
prefs->GetBoolPref("browser.cache.enable", &useCache);
|
||||
if (!useCache)
|
||||
return NS_OK;
|
||||
#endif
|
||||
|
||||
// Get the cache manager service
|
||||
// TODO - we should cache this service
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user