TabModel type should same as Tab type when switching tab
We were use getCurrentModel() to switch tab, and this will be a problem in multi window mode. We should choose the model(incognito or not) same as the tab which we will switch to. Bug: 1121102 Change-Id: Ie9742fb4a1b38f921c01d7f8ffd47a813b1b5a14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2379093Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Gang Wu <gangwu@chromium.org> Cr-Commit-Position: refs/heads/master@{#802295}
Showing
Please register or sign in to comment