mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 21:18:35 +00:00
bug 146532 Making Init() non-virtual (thanks dbaron for suggestion)
This commit is contained in:
parent
b3860439fd
commit
af446c2be7
@ -94,7 +94,7 @@ nsRecyclingAllocator::nsRecyclingAllocator(PRUint32 nbucket, PRUint32 recycleAft
|
||||
Init(nbucket, recycleAfter, id);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsresult
|
||||
nsRecyclingAllocator::Init(PRUint32 nbucket, PRUint32 recycleAfter, const char *id)
|
||||
{
|
||||
nsAutoLock lock(mLock);
|
||||
|
@ -147,7 +147,7 @@ class NS_COM nsRecyclingAllocator {
|
||||
const char *id = NULL);
|
||||
~nsRecyclingAllocator();
|
||||
|
||||
NS_IMETHOD Init(PRUint32 nbucket, PRUint32 recycleAfter, const char *id);
|
||||
nsresult Init(PRUint32 nbucket, PRUint32 recycleAfter, const char *id);
|
||||
|
||||
// Allocation and free routines
|
||||
void* Malloc(PRUint32 size, PRBool zeroit = PR_FALSE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user