weblayer: fix tab destruction
This is a regression from https://chromium-review.googlesource.com/c/chromium/src/+/2411161 . That patch meant that a newer client run with an implementation older than 86 would not properly clean up Tab's static map. This meant any calls to Tab.getTabsInBrowser would throw an exception because the tab was marked as destroyed but not removed from the map. The skew tests cover this. BUG=1131953 TEST=covered by skew tests Change-Id: I8f9ce175b316e75cfd752c2afa587ea3ad517393 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2442001Reviewed-by:Evan Stade <estade@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#812742}
Showing
Please register or sign in to comment