if (!gAsyncReflowDuringDocLoad && mDocumentLoading) { FlushPendingNotifications(Flush_Layout); } else { PostReflowEvent();
NS_ASSERTION(mChangeNestCount != 0, "Unexpected call to DidCauseReflow()"); if (--mChangeNestCount == 0) {   if (!gAsyncReflowDuringDocLoad && mDocumentLoading) { FlushPendingNotifications(Flush_Layout); } else { PostReflowEvent(); }
PresShell::DidCauseReflow(){  // We may have had more reflow commands appended to the queue during  // our reflow.  Make sure these get processed at some point.  if (!gAsyncReflowDuringDocLoad && mDocumentLoading) {    FlushPendingNotifications(Flush_Layout);  } else {    PostReflowEvent();  }  return NS_OK;}