bug#51249: add chrome to FlushCache. pnunn r:syd

git-svn-id: svn://10.0.0.236/trunk@79214 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pnunn%netscape.com
2000-09-14 23:06:53 +00:00
parent b12e7cfb46
commit b335c3ccae

View File

@@ -50,7 +50,7 @@ public:
virtual void SetCacheSize(PRInt32 aCacheSize);
virtual PRInt32 GetCacheSize(void);
virtual PRInt32 ShrinkCache(void);
NS_IMETHOD FlushCache(void);
NS_IMETHOD FlushCache(PRUint8 img_catagory);
// virtual nsImageType GetImageType(const char *buf, PRInt32 length);
private:
@@ -123,12 +123,13 @@ ImageManagerImpl::ShrinkCache(void)
}
NS_IMETHODIMP
ImageManagerImpl::FlushCache(void)
ImageManagerImpl::FlushCache(PRUint8 img_catagory)
{
IL_FlushCache();
IL_FlushCache(img_catagory);
return NS_OK;
}
NS_IMETHODIMP
ImageManagerImpl::FlushMemory(PRUint32 reason, size_t requestedAmount)
{