Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats

This commit is contained in:
Robert O'Callahan
2012-11-14 22:40:17 -08:00
parent a22a98a056
commit baf0f2cc2a
13 changed files with 24 additions and 56 deletions

View File

@@ -10615,8 +10615,7 @@ NS_IMETHODIMP nsDocShell::PersistLayoutHistoryState()
rv = GetPresShell(getter_AddRefs(shell));
if (NS_SUCCEEDED(rv) && shell) {
nsCOMPtr<nsILayoutHistoryState> layoutState;
rv = shell->CaptureHistoryState(getter_AddRefs(layoutState),
true);
rv = shell->CaptureHistoryState(getter_AddRefs(layoutState));
}
}