From b98cdee4382c83e3574e8bf4e0ecca92e50f9d13 Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Fri, 13 Jan 2006 19:27:54 +0000 Subject: [PATCH] Make sure to save the layout state when navigating to a cached presentation, in case the content viewer for the previous page is not saved or is later evicted. Bug 321671, r=biesi. git-svn-id: svn://10.0.0.236/trunk@187579 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsDocShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index b4539a3963c..c665db1f164 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -5390,7 +5390,7 @@ nsDocShell::RestoreFromHistory() // Rather than call Embed(), we will retrieve the viewer from the session // history entry and swap it in. // XXX can we refactor this so that we can just call Embed()? - // XXX PersistLayoutHistoryState() ? + PersistLayoutHistoryState(); nsresult rv; if (mContentViewer) { if (mSavingOldViewer && NS_FAILED(CaptureState())) {