Last_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}
Showing
Please register or sign in to comment