Remove the LayoutHistoryState after restoring a page from session history (bug 305129). r+sr=bzbarsky.

git-svn-id: svn://10.0.0.236/trunk@178991 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2005-08-25 21:21:07 +00:00
parent 9bd84add0a
commit e1dd76faf3

View File

@@ -5300,7 +5300,11 @@ nsDocShell::RestoreFromHistory()
SetHistoryEntry(&mOSHE, mLSHE);
// XXX special wyciwyg handling in Embed()?
// XXX SetLayoutHistoryState(null)?
// We aren't going to restore any items from the LayoutHistoryState,
// but we don't want them to stay around in case the page is reloaded.
SetLayoutHistoryState(nsnull);
// This is the end of our Embed() replacement
mSavingOldViewer = PR_FALSE;