Fix crash after navigation deletion
When tabs are serialized by tab_restore_service, only a limited number of entries is written to disk. On restore, these entries are created with their previous index, which is not consistent with actual index. This CL fixes the indices and adds checks to more easily identify other cases with inconsistent indices. Bug: 820910, 821214 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I1fe8f3809cb51a0b5853ccd9294690bc08d71778 Reviewed-on: https://chromium-review.googlesource.com/960026Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/master@{#543038}
Showing
Please register or sign in to comment