OOPIF: Support session restore by combining/splitting frame PageStates.
In OOPIF-enabled modes, each FrameNavigationEntry has a per-frame PageState object. The states for each frame in the tree need to be combined into a single PageState for GetPageState, and a single PageState needs to be split into individual FrameNavigationEntries for SetPageState. Because GetPageState is const and returns a const ref, we need to cache the combined PageState each time it could change. BUG=545219 TEST=Close and restore a tab or session with OOPIFs. Review URL: https://codereview.chromium.org/1496483002 Cr-Commit-Position: refs/heads/master@{#363025}
Showing
Please register or sign in to comment