зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 84c6254be42a; pushing into CLOSED TREE
This commit is contained in:
Родитель
068d4908a4
Коммит
2262ce0e5b
|
@ -534,13 +534,9 @@ 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;
|
||||
|
|
|
@ -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", 52428800);
|
||||
pref("image.cache.size", 5242880);
|
||||
// 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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче