Bug 1134920 - Remove nsMemory::Alloc/Realloc/Free. r=nfroyd

This commit is contained in:
Mike Hommey
2015-03-27 09:10:32 +09:00
parent 338d086ead
commit d3996ea63c
3 changed files with 1 additions and 68 deletions

View File

@@ -28,24 +28,6 @@ static nsMemoryImpl sGlobalMemory;
NS_IMPL_QUERY_INTERFACE(nsMemoryImpl, nsIMemory)
NS_IMETHODIMP_(void*)
nsMemoryImpl::Alloc(size_t aSize)
{
return NS_Alloc(aSize);
}
NS_IMETHODIMP_(void*)
nsMemoryImpl::Realloc(void* aPtr, size_t aSize)
{
return NS_Realloc(aPtr, aSize);
}
NS_IMETHODIMP_(void)
nsMemoryImpl::Free(void* aPtr)
{
NS_Free(aPtr);
}
NS_IMETHODIMP
nsMemoryImpl::HeapMinimize(bool aImmediate)
{