Change implementation of TabStripModel::closing_all().
The semantics of TabStripModel::closing_all() [both in the header comments, and in usage by callsites] is that it should only be set to |true| when CloseAllTabs() has been called. However, it was also being set to |true| in TabStripModel::DetachWebContentsImpl. This was incorrect. It appears to have been present in the initial commit of chrome/ to the Chromium repository: 09911bf3. Bug: 871977 Change-Id: Ied0dcb79611f1c2b144657dec897551d3734a38a Reviewed-on: https://chromium-review.googlesource.com/1169622Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#582130}
Showing
Please register or sign in to comment