trying to fix nebiros bustage - moving inline function before its first call site

git-svn-id: svn://10.0.0.236/trunk@139652 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com 2003-03-18 06:02:10 +00:00
parent 2ec7e2e032
commit 5655e17c35

View File

@ -129,6 +129,14 @@ nsMemoryCacheDevice::GetDeviceID()
}
inline void
nsMemoryCacheDevice::EnsureEvictionLists()
{
if (!mEvictionList)
CreateEvictionLists();
}
nsCacheEntry *
nsMemoryCacheDevice::FindEntry(nsCString * key)
{
@ -475,13 +483,6 @@ nsMemoryCacheDevice::SetCapacity(PRInt32 capacity)
AdjustMemoryLimits(softLimit, hardLimit);
}
inline void
nsMemoryCacheDevice::EnsureEvictionLists()
{
if (!mEvictionList)
CreateEvictionLists();
}
void
nsMemoryCacheDevice::CreateEvictionLists()
{