presShell->FlushPendingNotifications(PR_FALSE);
presShell->FlushPendingNotifications();
static void EnsureReflowFlushAndPaint(nsIDocShell* aDocShell){  if (!aDocShell)    return;  nsCOMPtr<nsIPresShell> presShell;  aDocShell->GetPresShell(getter_AddRefs(presShell));  if (!presShell)    return;  // Flush pending reflows.  presShell->FlushPendingNotifications(PR_FALSE);  // Unsuppress painting.  presShell->UnsuppressPainting();}