if ((0 != aLine->mChildCount) && fromLine->IsBlock()) {
if ((0 != aLine->ChildCount()) && fromLine->IsBlock()) {
nsBlockFrame::PullFrame(nsBlockReflowState& aState,                        LineData* aLine,                        LineData** aFromList,                        PRBool aUpdateGeometricParent,                        nsReflowStatus& aReflowResult){  LineData* fromLine = *aFromList;  NS_ASSERTION(nsnull != fromLine, "bad line to pull from");  if (0 == fromLine->mChildCount) {    // Discard empty lines immediately. Empty lines can happen here    // because of DeleteChildsNextInFlow not being able to delete    // lines.    *aFromList = fromLine->mNext;    NS_ASSERTION(nsnull == fromLine->mFirstChild, "bad empty line");    fromLine->mNext = aState.mFreeList;    aState.mFreeList = fromLine;    return PR_TRUE;  }  // If our line is not empty and the child in aFromLine is a block  // then we cannot pull up the frame into this line.  if ((0 != aLine->mChildCount) && fromLine->IsBlock()) {    aReflowResult = NS_INLINE_LINE_BREAK_BEFORE();    return PR_FALSE;  }  // Take frame from fromLine  nsIFrame* frame = fromLine->mFirstChild;  if (0 == aLine->mChildCount++) {    aLine->mFirstChild = frame;    aLine->SetIsBlock(fromLine->IsBlock());#ifdef NS_DEBUG    const nsStyleDisplay* display;    frame->GetStyleData(eStyleStruct_Display,                        (const nsStyleStruct*&) display);    const nsStylePosition* position;    frame->GetStyleData(eStyleStruct_Position,                        (const nsStyleStruct*&) position);    PRBool isBlock = nsLineLayout::TreatFrameAsBlock(display, position);    NS_ASSERTION(isBlock == aLine->IsBlock(), "bad line isBlock");#endif  }  if (0 != --fromLine->mChildCount) {    frame->GetNextSibling(fromLine->mFirstChild);  }  else {    // Free up the fromLine now that it's empty    *aFromList = fromLine->mNext;    fromLine->mFirstChild = nsnull;    fromLine->mNext = aState.mFreeList;    aState.mFreeList = fromLine;  }  // Change geometric parents  if (aUpdateGeometricParent) {    nsIFrame* geometricParent;    nsIFrame* contentParent;    frame->GetGeometricParent(geometricParent);    frame->GetContentParent(contentParent);    if (contentParent == geometricParent) {      frame->SetContentParent(this);    }    frame->SetGeometricParent(this);    // The frame is being pulled from a next-in-flow; therefore we    // need to add it to our sibling list.    if (nsnull != aState.mPrevChild) {      aState.mPrevChild->SetNextSibling(frame);    }    frame->SetNextSibling(nsnull);  }  // Reflow the frame  if (aLine->IsBlock()) {    return ReflowBlockFrame(aState, aLine, frame, aReflowResult);  }  else {    return ReflowInlineFrame(aState, aLine, frame, aReflowResult);  }}