Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc

This commit is contained in:
Markus Stange
2011-12-23 22:52:25 -05:00
parent e75b04ed9b
commit 630256cc51
9 changed files with 52 additions and 53 deletions

View File

@@ -4732,7 +4732,7 @@ nsDocShell::Repaint(bool aForce)
nsIViewManager* viewManager = presShell->GetViewManager();
NS_ENSURE_TRUE(viewManager, NS_ERROR_FAILURE);
NS_ENSURE_SUCCESS(viewManager->UpdateAllViews(), NS_ERROR_FAILURE);
NS_ENSURE_SUCCESS(viewManager->InvalidateAllViews(), NS_ERROR_FAILURE);
return NS_OK;
}
@@ -7323,7 +7323,7 @@ nsDocShell::RestoreFromHistory()
// call Thaw. So we issue the invalidate here.
newRootView = newVM->GetRootView();
if (newRootView) {
newVM->UpdateView(newRootView);
newVM->InvalidateView(newRootView);
}
}
}