commit | 0d9f6c3d376172588e66b104f9495cdccb149dfd | [log] [tgz] |
---|---|---|
author | Rohit Rao <rohitrao@chromium.org> | Tue Jan 22 11:29:35 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 22 11:29:35 2019 |
tree | 9e3a084587be0021abab70facf0066df839a86ed | |
parent | e646601e067bab061fe0e0e48c6852d795be946c [diff] |
[ios] Moves session restoration out of the TabModel constructor. TabModel's constructor used to take a SessionWindow as its first argument, and it used that to populate the WebStateList with an initial set of tabs. The restoration happened at the end of the constructor, however, making it easy to move the session restoration into another function. Callers that used to pass a non-nil SessionWindow now call -[TabModel restoreSessionWindow:forInitialRestore:] immediately after construction. BUG=923476 Change-Id: I89b0406e7c68563a803fbef082fbd2ecf98abdd0 Reviewed-on: https://chromium-review.googlesource.com/c/1422959 Reviewed-by: Mark Cogan <marq@chromium.org> Commit-Queue: Rohit Rao <rohitrao@chromium.org> Cr-Commit-Position: refs/heads/master@{#624760}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .