Remove XP_MAC include, and commented out call to CallCacheFlushers, which no longer lives in the Mac memory allocators. This needs to be hooked up (by XPapps?) in the new world.
git-svn-id: svn://10.0.0.236/trunk@15857 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -99,17 +99,13 @@ nsMalloc::DidAlloc(void* ptr)
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
// For the definition of CallCacheFlushers()
|
||||
#ifdef XP_MAC
|
||||
# include "MacMemAllocator.h"
|
||||
#endif
|
||||
|
||||
NS_METHOD_(void)
|
||||
nsMalloc::HeapMinimize(void)
|
||||
{
|
||||
#ifdef XP_MAC
|
||||
// something wonderful
|
||||
CallCacheFlushers(0x7fffffff);
|
||||
// This used to live in the memory allocators no Mac, but does no more
|
||||
// Needs to be hooked up in the new world.
|
||||
// CallCacheFlushers(0x7fffffff);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user