зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a511347e48
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче