PR_LOG(gShellLogModuleInfo, PR_LOG_DEBUG,
NS_FRAME_LOG(NS_FRAME_TRACE_CALLS,
PresShell::ContentReplaced(nsIContent* aContainer,                           nsIContent* aOldChild,                           nsIContent* aNewChild,                           PRInt32     aIndexInContainer){  NS_PRECONDITION(nsnull != mRootFrame, "null root frame");  EnterReflowLock();  nsIFrame* frame = FindFrameWithContent(aContainer);  NS_PRECONDITION(nsnull != frame, "null frame");  PR_LOG(gShellLogModuleInfo, PR_LOG_DEBUG,     ("PresShell::ContentReplaced: container=%p[%s] oldChild=%p[%s][%d] newChild=%p[%s] frame=%p",      aContainer, ContentTag(aContainer, 0),      aOldChild, ContentTag(aOldChild, 1), aIndexInContainer,      aNewChild, ContentTag(aNewChild, 2), frame));  frame->ContentReplaced(this, mPresContext, aContainer, aOldChild,                         aNewChild, aIndexInContainer);  ExitReflowLock();  return NS_OK;}