if (!mFrameSelection) return NS_OK; return mFrameSelection->EndBatchChanges();
nsresult result(NS_OK); mBatching--; NS_ASSERTION(mBatching >=0,"Bad mBatching"); if (mBatching == 0 && mChangesDuringBatching){ mChangesDuringBatching = PR_FALSE; NotifySelectionListeners(nsISelectionController::SELECTION_NORMAL); } return result;
nsDOMSelection::EndBatchChanges(){  if (!mFrameSelection)    return NS_OK;//nothing to do  return mFrameSelection->EndBatchChanges();}