("exit TextFrame::ResizeReflow: %scomplete width=%d",
("exit TextFrame::Reflow: %scomplete width=%d",
NS_METHOD TextFrame::Reflow(nsIPresContext* aCX,                            nsReflowMetrics& aDesiredSize,                            const nsReflowState& aReflowState,                            nsReflowStatus& aStatus){  NS_FRAME_LOG(NS_FRAME_TRACE_CALLS,     ("enter TextFrame::ResizeReflow: aMaxSize=%d,%d",      aReflowState.maxSize.width, aReflowState.maxSize.height));  // Wipe out old justification information since it's going to change  if (nsnull != mWords) {    delete[] mWords;    mWords = nsnull;  }#ifdef DEBUG_JUSTIFY  mNumWords = 0;#endif  // Get starting offset into the content  PRInt32 startingOffset = 0;  if (nsnull != mPrevInFlow) {    TextFrame* prev = (TextFrame*) mPrevInFlow;    startingOffset = prev->mContentOffset + prev->mContentLength;  }  // Get cached state for containing block frame  nsLineLayout* lineLayoutState = nsnull;  nsBlockReflowState* state = nsBlockFrame::FindBlockReflowState(aCX, this);  if (nsnull != state) {    lineLayoutState = state->mCurrentLine;    if (nsnull != lineLayoutState) {      lineLayoutState->mReflowResult = NS_LINE_LAYOUT_REFLOW_RESULT_AWARE;    }  }  nsStyleFont* font =    (nsStyleFont*)mStyleContext->GetData(eStyleStruct_Font);  // Initialize mFlags (without destroying the TEXT_BLINK_ON bit) bits  // that are filled in by the reflow routines.  mFlags &= TEXT_BLINK_ON;  if (font->mFont.decorations & NS_STYLE_TEXT_DECORATION_BLINK) {    if (0 == (mFlags & TEXT_BLINK_ON)) {      mFlags |= TEXT_BLINK_ON;      gTextBlinker->AddFrame(this);    }  }  nsStyleText* text =    (nsStyleText*)mStyleContext->GetData(eStyleStruct_Text);  if (NS_STYLE_WHITESPACE_PRE == text->mWhiteSpace) {    // Use a specialized routine for pre-formatted text    aStatus = ReflowPre(aCX, aDesiredSize, aReflowState.maxSize,                        aDesiredSize.maxElementSize, *font, startingOffset,                        lineLayoutState);  } else {    // Use normal wrapping routine for non-pre text (this includes    // text that is not wrapping)    aStatus = ReflowNormal(aCX, aDesiredSize, aReflowState.maxSize,                           aDesiredSize.maxElementSize, *font, *text,                           startingOffset, lineLayoutState);  }  NS_FRAME_LOG(NS_FRAME_TRACE_CALLS,               ("exit TextFrame::ResizeReflow: %scomplete width=%d",                (NS_FRAME_IS_COMPLETE(aStatus) ? "" : "not "),                aDesiredSize.width));  return NS_OK;}