mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
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:
parent
a511347e48
commit
22ccbc613d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user