[ios] Fix snapshot when switching incognito mode
This fixes a bug in which snapshots are blank when opening a new tab from an incognito tab (and vice versa). This fixes two issues: 1) We must take a snapshot of the current tab before switching to a different incognito mode. This was not happening. 2) We must prevent blank snapshots from overwriting perfectly good ones. Bug: 778235 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I761244b2459d0f38f999d630d19643764533ebaf Reviewed-on: https://chromium-review.googlesource.com/764854Reviewed-by:edchin <edchin@chromium.org> Reviewed-by:
Kurt Horimoto <kkhorimoto@chromium.org> Commit-Queue: edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#515998}
Showing
Please register or sign in to comment