mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
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:
parent
f3f76cdc26
commit
cadc444e92
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user