diff --git a/modules/libpr0n/src/imgLoader.cpp b/modules/libpr0n/src/imgLoader.cpp index f173b8b1dea..50f4b528670 100644 --- a/modules/libpr0n/src/imgLoader.cpp +++ b/modules/libpr0n/src/imgLoader.cpp @@ -534,9 +534,13 @@ nsresult imgLoader::InitCache() os->AddObserver(gCacheObserver, "chrome-flush-skin-caches", PR_FALSE); os->AddObserver(gCacheObserver, "chrome-flush-caches", PR_FALSE); +#if 0 gCacheTracker = new imgCacheExpirationTracker(); if (!gCacheTracker) return NS_ERROR_OUT_OF_MEMORY; +#else + gCacheTracker = nsnull; +#endif if (!sCache.Init()) return NS_ERROR_OUT_OF_MEMORY; diff --git a/modules/libpref/src/init/all.js b/modules/libpref/src/init/all.js index 3a42fad8677..fc6415558cc 100644 --- a/modules/libpref/src/init/all.js +++ b/modules/libpref/src/init/all.js @@ -2668,7 +2668,7 @@ pref("toolkit.zoomManager.zoomValues", ".3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2 // Image cache prefs // The maximum size, in bytes, of the decoded images we cache -pref("image.cache.size", 5242880); +pref("image.cache.size", 52428800); // A weight, from 0-1000, to place on time when comparing to size. // Size is given a weight of 1000 - timeweight. pref("image.cache.timeweight", 500);