From 8c835bf7105696964f091c1bf453d3c78537d01b Mon Sep 17 00:00:00 2001 From: "sfraser%netscape.com" Date: Sat, 5 Dec 1998 21:58:54 +0000 Subject: [PATCH] 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 --- mozilla/modules/plugin/src/nsMalloc.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/mozilla/modules/plugin/src/nsMalloc.cpp b/mozilla/modules/plugin/src/nsMalloc.cpp index 6d3ec7e01a5..92974dab056 100644 --- a/mozilla/modules/plugin/src/nsMalloc.cpp +++ b/mozilla/modules/plugin/src/nsMalloc.cpp @@ -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 }