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:
bryner@brianryner.com
2005-06-24 21:08:10 +00:00
parent 5c73708143
commit 1968baea99

View File

@@ -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,