if (gAsyncReflowDuringDocLoad) { NS_PRECONDITION(mRCCreatedDuringLoad >= 0, "PresShell's reflow command queue is in a bad state."); PRInt32 flags; aRC->GetFlags(&flags); if (flags & NS_RC_CREATED_DURING_DOCUMENT_LOAD) { mRCCreatedDuringLoad--; #ifdef DEBUG_nisheeth printf("presshell=%p, mRCCreatedDuringLoad=%d\n", this, mRCCreatedDuringLoad); #endif }  if (mRCCreatedDuringLoad == 0 && !mDocumentLoading && mDummyLayoutRequest) RemoveDummyLayoutRequest();
PresShell::ReflowCommandRemoved(nsIReflowCommand* aRC){#ifdef ASYNC_REFLOW_DURING_DOC_LOAD  NS_PRECONDITION(mRCCreatedDuringLoad >= 0, "PresShell's reflow command queue is in a bad state.");    PRInt32 flags;  aRC->GetFlags(&flags);  if (flags & NS_RC_CREATED_DURING_DOCUMENT_LOAD) {    mRCCreatedDuringLoad--;#ifdef DEBUG_nisheeth    printf("presshell=%p, mRCCreatedDuringLoad=%d\n", this, mRCCreatedDuringLoad);#endif  }  if (mRCCreatedDuringLoad == 0 && !mDocumentLoading && mDummyLayoutRequest)    RemoveDummyLayoutRequest();#endif  return NS_OK;}