Bug 873944 - Remove unecessarily callers to nsView::Invalidate. r=roc

This commit is contained in:
Matt Woodrow
2013-06-18 19:59:00 +12:00
parent 9b3753b0c8
commit e0859c3013
5 changed files with 5 additions and 120 deletions

View File

@@ -7890,17 +7890,6 @@ nsDocShell::RestoreFromHistory()
// Restart plugins, and paint the content.
if (shell) {
shell->Thaw();
newVM = shell->GetViewManager();
if (newVM) {
// When we insert the root view above the resulting invalidate is
// dropped because painting is suppressed in the presshell until we
// call Thaw. So we issue the invalidate here.
newRootView = newVM->GetRootView();
if (newRootView) {
newVM->InvalidateView(newRootView);
}
}
}
return privWin->FireDelayedDOMEvents();