Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix adding to group that is deleted from the tab_menu_model
The old way that target index was used to get the groupID for the tab group to be added to was using the wrong source of truth. the fix is to have a mapping of index to tabGroupID from when the model was generated and then check against that mapping to check if the group model still contains that ID. (cherry picked from commit 8e276e7) Bug: 1273397 Change-Id: I566505dc4267a1224de0dd2de95da8c12f79ed97 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3384389 Reviewed-by: Taylor Bergquist <tbergquist@chromium.org> Commit-Queue: David Pennington <dpenning@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#962822} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3449665 Cr-Commit-Position: refs/branch-heads/4758@{#1123} Cr-Branched-From: 4a2cf4b-refs/heads/main@{#950365}
- Loading branch information
David Pennington
authored and
Chromium LUCI CQ
committed
Feb 9, 2022
1 parent
97342fd
commit 2b608b9
Showing
2 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters