PRInt32 newCount = mParent->GetChildCount(); if (newCount > mOldChildCount) {
if (mChildrenBound > 0) {  PRUint32 boundCount = mOldChildCount + mChildrenBound;
  void Notify() {    if (mDocument && mDocument == mParent->GetCurrentDoc()) {      PRInt32 newCount = mParent->GetChildCount();      if (newCount > mOldChildCount) {        PRUint32 notifySlot = mOldChildCount;        // Make sure to update mOldChildCount so that if ContentAppended calls        // BeginUpdate for some reason (eg XBL) so we reenter Notify() we won't        // double-notify.        mOldChildCount = newCount;        mDocument->ContentAppended(mParent, notifySlot);      }    }  }