return AppendReflowCommandInternal(aReflowCommand, mReflowCommands);
if (! mDidInitialReflow) return NS_OK;  #ifdef DEBUG  if (mInVerifyReflow) { return NS_OK; } if (VERIFY_REFLOW_NOISY_RC & gVerifyReflowFlags) { printf("\nPresShell@%p: adding reflow command\n", (void*)this); aReflowCommand->List(stdout); if (VERIFY_REFLOW_REALLY_NOISY_RC & gVerifyReflowFlags) { printf("Current content model:\n"); nsCOMPtr<nsIContent> rootContent; mDocument->GetRootContent(getter_AddRefs(rootContent)); if (rootContent) { rootContent->List(stdout, 0); } } } #endif   nsresult rv = NS_OK; if (!AlreadyInQueue(aReflowCommand, mReflowCommands)) { rv = (mReflowCommands.AppendElement(aReflowCommand) ? NS_OK : NS_ERROR_OUT_OF_MEMORY); ReflowCommandAdded(aReflowCommand); } else {  delete aReflowCommand; }     if ((gAsyncReflowDuringDocLoad && !mBatchReflows) || (!gAsyncReflowDuringDocLoad && !mBatchReflows && !mDocumentLoading)) {   if ( !IsDragInProgress() ) PostReflowEvent(); }  return rv;
PresShell::AppendReflowCommand(nsHTMLReflowCommand* aReflowCommand){  return AppendReflowCommandInternal(aReflowCommand, mReflowCommands);}