Bug 455508 - Perf test. Disable the time-based expiry of cache elements to see

if it has an effect. CLOSED TREE for perf tests.
This commit is contained in:
Joe Drew 2009-01-17 11:06:28 -05:00
parent a511347e48
commit 22ccbc613d

View File

@ -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;