Fix tab nodes not marked as free during restore
When the local session is restored from persistence, if there are orphan tabs, they should be marked as free, to prevent newly created tabs from creating new tab nodes, instead of recycling available ones. The restore flow exercises SyncedSessionTracker::CleanupSession(), which prior to this patch wasn't smart enough for the local session. Bug: 875671,847325 Change-Id: I91f9f13ad4aedbbd85bfcc73c606096781b80527 Reviewed-on: https://chromium-review.googlesource.com/1204134 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#588827}
Showing
Please register or sign in to comment