ExitReflowLock(PR_FALSE);
PresShell::FlushPendingNotifications(){  // XXX Only flush if the lock count is 0. Ideally nothing  // besides Enter/ExitReflowLock should call ProcessReflowCommands.  // Will be changed by Nisheeth.  if (!mReflowLockCount) {    EnterReflowLock();        // grab the reflow lock (fix for bug 30738, prevents recursive reflows)    ProcessReflowCommands(PR_FALSE);    ExitReflowLock(PR_FALSE); // release the reflow lock  }  return NS_OK;}