newLine->mNext = aLine->mNext; aLine->mNext = newLine; aLine->SetChildCount(aLine->GetChildCount() - pushCount);    aLineLayout.SplitLineTo(aLine->GetChildCount()); #ifdef DEBUG VerifyLines(PR_TRUE);
to->SetLastContentIsComplete(aLineWasComplete); aLine->mChildCount -= pushCount; #ifdef NS_DEBUG if (GetVerifyTreeEnable()) { aLine->Verify(); }
nsBlockFrame::SplitLine(nsBlockReflowState& aState,                        nsLineLayout& aLineLayout,                        nsLineBox* aLine,                        nsIFrame* aFrame){  NS_ABORT_IF_FALSE(aLine->IsInline(), "illegal SplitLine on block line");  PRInt32 pushCount = aLine->GetChildCount() - aLineLayout.GetCurrentSpanCount();  NS_ABORT_IF_FALSE(pushCount >= 0, "bad push count");   if (0 != pushCount) {    NS_ABORT_IF_FALSE(aLine->GetChildCount() > pushCount, "bad push");    NS_ABORT_IF_FALSE(nsnull != aFrame, "whoops");    // Put frames being split out into their own line    nsLineBox* newLine = new nsLineBox(aFrame, pushCount, PR_FALSE);    if (!newLine) {      return NS_ERROR_OUT_OF_MEMORY;    }    newLine->mNext = aLine->mNext;    aLine->mNext = newLine;    aLine->SetChildCount(aLine->GetChildCount() - pushCount);    // Let line layout know that some frames are no longer part of its    // state.    aLineLayout.SplitLineTo(aLine->GetChildCount());#ifdef DEBUG    VerifyLines(PR_TRUE);#endif  }  return NS_OK;}