Track closing tabs in layout_helper_ instead of tabs_closing_map_.
This requires notifying layout_helper_ when a tab is being destroyed, and TabStripLayoutHelper to step carefully around closing tabs in a few places, but saves more complexity by not duplicating state between TabStrip and TabStripLayoutHelper. Bug: 958173 Change-Id: Iaeafc2391ecac0397947ccc34ddaecf853feb787 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1725271 Commit-Queue: Taylor Bergquist <tbergquist@chromium.org> Reviewed-by:Bret Sepulveda <bsep@chromium.org> Cr-Commit-Position: refs/heads/master@{#683380}
Showing
This diff is collapsed.
Please register or sign in to comment