if (mSubShellMap) { PL_DHashTableDestroy(mSubShellMap); mSubShellMap = nsnull; }
PresShell::Destroy(){#ifdef MOZ_REFLOW_PERF  DumpReflows();  if (mReflowCountMgr) {    delete mReflowCountMgr;    mReflowCountMgr = nsnull;  }#endif  // If our paint suppression timer is still active, kill it.  if (mPaintSuppressionTimer) {    mPaintSuppressionTimer->Cancel();    mPaintSuppressionTimer = nsnull;  }  // release our pref style sheet, if we have one still  ClearPreferenceStyleRules();  // free our table of anonymous content  ReleaseAnonymousContent();  mIsDestroying = PR_TRUE;  // Clobber weak leaks in case of re-entrancy during tear down  mHistoryState = nsnull;  // kill subshell map, if any.  It holds only weak references  if (mSubShellMap)  {    PL_DHashTableDestroy(mSubShellMap);    mSubShellMap = nsnull;  }  // release current event content and any content on event stack  NS_IF_RELEASE(mCurrentEventContent);