FrameArena::FreeFrame(size_t aSize, void* aPtr)
PresShell::FreeFrame(size_t aSize, void* aPtr)
FrameArena::FreeFrame(size_t aSize, void* aPtr){#ifdef DEBUG  // Mark the memory with 0xdd in DEBUG builds so that there will be  // problems if someone tries to access memory that they've freed.  memset(aPtr, 0xdd, aSize);#endif#if defined(DEBUG_TRACEMALLOC_FRAMEARENA)  PR_Free(aPtr);#else  // Ensure we have correct alignment for pointers.  Important for Tru64  aSize = PR_ROUNDUP(aSize, sizeof(void*));  // See if it's a size that we recycle  if (aSize < gMaxRecycledSize) {    const int   index = aSize >> 2;    void*       currentTop = mRecyclers[index];    mRecyclers[index] = aPtr;    *((void**)aPtr) = currentTop;  }#ifdef DEBUG_dbaron  else {    fprintf(stderr,            "WARNING: FrameArena::FreeFrame leaking chunk of %d bytes.\n",            aSize);  }#endif#endif}