FlushPendingNotifications(PR_FALSE);
FlushPendingNotifications(Flush_Layout);
PresShell::HandlePostedReflowCallbacks(){   PRBool shouldFlush = PR_FALSE;   while (mFirstCallbackEventRequest) {     nsCallbackEventRequest* node = mFirstCallbackEventRequest;     mFirstCallbackEventRequest = node->next;     if (!mFirstCallbackEventRequest) {       mLastCallbackEventRequest = nsnull;     }     nsIReflowCallback* callback = node->callback;     FreeFrame(sizeof(nsCallbackEventRequest), node);     if (callback)       callback->ReflowFinished(this, &shouldFlush);     NS_IF_RELEASE(callback);   }   if (shouldFlush)     FlushPendingNotifications(PR_FALSE);}