Don't process TabStripModelChange::kRemove changes in TabSharingUIViews.
The logic for kRemove tab strip model changes is covered in OnInfobarRemoved. Drive-by reset tab capture indicator on StopSharing. This wasn't a bug, the indicator would get destroyed in dtor, but it's more logical to remove it on StopSharing and it makes testing easier. Bug: 996722 Change-Id: I49943226dcc4fc7eab8a4776f45aaa7c9fd98d5f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1855738Reviewed-by:Guido Urdaneta <guidou@chromium.org> Commit-Queue: Marina Ciocea <marinaciocea@chromium.org> Cr-Commit-Position: refs/heads/master@{#705032}
Showing
Please register or sign in to comment