mDocument->ContentAppended(mBody, mBodyChildCount); mBody->ChildCount(mBodyChildCount);
NotifyBody();
HTMLContentSink::CloseBody(const nsIParserNode& aNode){  SINK_TRACE_NODE(SINK_TRACE_CALLS,                  "HTMLContentSink::CloseBody", aNode);  PRBool didFlush;  nsresult rv = mCurrentContext->FlushText(&didFlush);  if (NS_OK != rv) {    return rv;  }  mCurrentContext->CloseContainer(aNode);  if (didFlush) {    // Trigger a reflow for the flushed text    mDocument->ContentAppended(mBody, mBodyChildCount);    mBody->ChildCount(mBodyChildCount);  }  return NS_OK;}