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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user