mViewManager->CacheWidgetChanges(PR_FALSE);
PresShell::ExitReflowLock(PRBool aTryToReflow){  PRUint32 newReflowLockCount = mReflowLockCount - 1;  if (newReflowLockCount == 0 && aTryToReflow && !mBatchReflows) {    /* If a) layout.reflow.async is true, OR     *    b) layout.reflow.async.afterDocLoad is true AND the doc has finished loading     * Then     *    Process the reflow commands asynchronously     * Else     *    Process the reflow commands synchronously.     */    if (gDoAsyncReflow ||      (gDoAsyncReflowAfterDocLoad && !mDocumentIsLoading)) {            PostReflowEvent();    }          else {      ProcessReflowCommands(PR_FALSE);    }  }  mReflowLockCount = newReflowLockCount;  return NS_OK;}