fix bug 120833 "default value of nsICacheEntryInfo::expirationTime should be PRUint32(-1)". r=gagan, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@112640 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -326,7 +326,7 @@ int
|
||||
nsMemoryCacheDevice::EvictionList(nsCacheEntry * entry, PRUint32 deltaSize)
|
||||
{
|
||||
PRUint32 size = entry->Size() + deltaSize;
|
||||
if ((size > mEvictionThreshold) || (entry->ExpirationTime() != 0))
|
||||
if ((size > mEvictionThreshold) || (entry->ExpirationTime() != NO_EXPIRATION_TIME))
|
||||
return mostLikelyToEvict;
|
||||
|
||||
return leastLikelyToEvict;
|
||||
|
||||
Reference in New Issue
Block a user