NS_ASSERTION(mCurrentEventContentStack.Count() == 0, "Huh, event content left on the stack in pres shell dtor!");  NS_IF_RELEASE(mCurrentEventContent);
PresShell::~PresShell(){  if (mStyleSet) {    NS_NOTREACHED("Someone did not call nsIPresShell::destroy");    Destroy();  }  // if we allocated any stack memory free it.  FreeDynamicStack();}