Bug 873944 - Remove unecessarily callers to nsView::Invalidate. r=roc
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user