Begin implementing eviction of memory cache entries.

git-svn-id: svn://10.0.0.236/trunk@87985 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gordon%netscape.com
2001-02-26 14:57:40 +00:00
parent e1904579fd
commit 97665f1086
2 changed files with 39 additions and 22 deletions

View File

@@ -80,8 +80,7 @@ nsMemoryCacheDevice::ActivateEntryIfFound(nsCacheEntry * entry)
nsCacheEntry * ourEntry = mInactiveEntries.GetEntry(key);
if (!ourEntry) {
*entry = nsnull;
return NS_ERROR_CACHE_KEY_NOT_FOUND;
return NS_ERROR_CACHE_KEY_NOT_FOUND;
}
//** need entry->UpdateFrom(ourEntry);