Fix failure to repaint on Mac with fastback enabled (bug 298112). Hide the old contentviewer before we invalidate. r=darin sr=dbaron a=asa.
This commit is contained in:
@@ -5160,6 +5160,7 @@ nsDocShell::RestorePresentation(nsISHEntry *aSHEntry, PRBool aSavePresentation,
|
||||
}
|
||||
|
||||
mContentViewer->Close(aSavePresentation ? mOSHE.get() : nsnull);
|
||||
mContentViewer->Hide();
|
||||
|
||||
// It's unsafe to actually destroy the content viewer here.
|
||||
// In particular, if we're called from within a plugin's event loop,
|
||||
|
||||
Reference in New Issue
Block a user