DescriptionLast_n: do not delete the currently loading offline snapshot.
The code to delete existing offline pages created previously by last_n
was also causing the deletion of the very offline snapshot currently
being loaded. This change fixes that by verifying that the snapshot that
would be deleted is not the same as the one being loaded.
It also changes slightly the way the information of the lastest last_n
snapshot is cleared: now that only happens when the snapshot is actually
being deleted.
BUG=718212
Review-Url: https://codereview.chromium.org/2854213005
Cr-Commit-Position: refs/heads/master@{#469411}
Committed: https://chromium.googlesource.com/chromium/src/+/2319abbff11d73330235314486b7dec03f1b32e0
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|