Keep tabgroup lastShownTabId unchanged during filter reset
Currently, when resetting filter state in TabGroupModelFilter, we clear the original mapping and re-add all the tabs. However, this approach loses the last shown tab id information in a tab group, which leads to some inconsistency. This CL fixes this issue. Bug: 997029 Change-Id: I303c2a0db490ecbdd17939b72478fdb197b62736 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1767120 Commit-Queue: Yue Zhang <yuezhanggg@chromium.org> Reviewed-by:Mei Liang <meiliang@chromium.org> Reviewed-by:
Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#690173}
Showing
Please register or sign in to comment