[ios] Don't double restore URLs after clear browsing data.
Normally restore URL's wouldn't make it to -CreateRestoreSessionUrl because VirtualURLs are saved during session serialization. However, after clear browsing data we short-circuit this path and directly restore the session URL history. In this path, the session may effectively be restored twice. While the code path works, it's more prone to failures and looks bad since the restore URL will be visible in the omnibox. Bug: 949540 Change-Id: Id39a328dcf94575719387dd56221a6cef85fe522 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1569966Reviewed-by:Danyao Wang <danyao@chromium.org> Reviewed-by:
Eugene But <eugenebut@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org> Cr-Commit-Position: refs/heads/master@{#652168}
Showing
Please register or sign in to comment