[sheriff] Revert "TabModel type should same as Tab type when switching tab"
This reverts commit a1ee3eea. Reason for revert: SwitchToTabTest#testSwitchToTabSuggestionWhenIncognitoTabOnTop is failing fails on O and P bots Original change's description: > 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/+/2379093 > Reviewed-by: Ted Choc <tedchoc@chromium.org> > Commit-Queue: Gang Wu <gangwu@chromium.org> > Cr-Commit-Position: refs/heads/master@{#802295} TBR=tedchoc@chromium.org,gangwu@chromium.org Change-Id: Ic897ac3efff8f859fb1c2eb6b94997185145820e No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1121102, 1122985 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2379899Reviewed-by:Alex Ilin <alexilin@chromium.org> Commit-Queue: Alex Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#802616}
Showing
Please register or sign in to comment