NS_NOTYETIMPLEMENTED("XXX");
rv = ResizeReflow(state); break;
nsBlockFrame::ReflowAround(nsIPresContext& aPresContext,                           nsISpaceManager* aSpaceManager,                           nsReflowMetrics& aMetrics,                           const nsReflowState& aReflowState,                           nsRect& aDesiredRect,                           nsReflowStatus& aStatus){  NS_FRAME_TRACE(NS_FRAME_TRACE_CALLS,                 ("enter nsBlockFrame::Reflow: maxSize=%d,%d reason=%d",                  aReflowState.maxSize.width,                  aReflowState.maxSize.height,                  aReflowState.reason));  // If this is the initial reflow, generate any synthetic content  // that needs generating.  if (eReflowReason_Initial == aReflowState.reason) {    NS_ASSERTION(0 != (NS_FRAME_FIRST_REFLOW & mState), "bad mState");  }  else {    NS_ASSERTION(0 == (NS_FRAME_FIRST_REFLOW & mState), "bad mState");  }  // Replace parent provided reflow state with our own significantly  // more extensive version.  nsBlockReflowState state(aPresContext, aReflowState, aMetrics,                           aSpaceManager);  // Prepare inline-reflow engine  nsInlineReflow inlineReflow(state.mLineLayout, state, this);  state.mInlineReflow = &inlineReflow;  nsresult rv = NS_OK;  if (eReflowReason_Initial == state.reason) {    RenumberLists(state);    if (!DrainOverflowLines()) {      rv = InitialReflow(state);    }    else {      rv = ResizeReflow(state);    }    mState &= ~NS_FRAME_FIRST_REFLOW;  }  else if (eReflowReason_Incremental == state.reason) {#if XXX    // We can have an overflow here if our parent doesn't bother to    // continue us    DrainOverflowLines();#endif    nsIFrame* target;    state.reflowCommand->GetTarget(target);    if (this == target) {      RenumberLists(state);      nsIReflowCommand::ReflowType type;      state.reflowCommand->GetType(type);      switch (type) {      case nsIReflowCommand::FrameAppended:        rv = FrameAppendedReflow(state);        break;      case nsIReflowCommand::FrameInserted:        rv = FrameInsertedReflow(state);        break;      case nsIReflowCommand::FrameDeleted:        rv = FrameDeletedReflow(state);        break;      default:        NS_NOTYETIMPLEMENTED("XXX");      }    }    else {      // Get next frame in reflow command chain      state.reflowCommand->GetNext(state.mNextRCFrame);      // Now do the reflow      rv = ChildIncrementalReflow(state);    }  }  else if (eReflowReason_Resize == state.reason) {    DrainOverflowLines();    rv = ResizeReflow(state);  }  // Compute our final size  ComputeFinalSize(state, aMetrics, aDesiredRect);#ifdef NS_DEBUG  if (GetVerifyTreeEnable()) {    VerifyChildCount(mLines);    VerifyLines(mLines);  }#endif  aStatus = rv;  NS_FRAME_TRACE(NS_FRAME_TRACE_CALLS,                 ("exit nsBlockFrame::Reflow: size=%d,%d rv=%x",                  aMetrics.width, aMetrics.height, rv));  return NS_OK;}