weblayer: more tab destruction cleanup
When the BrowserFragment is destroyed cleanup of the Tab in the client library wasn't happening. This is because in this case onTabRemoved is not called on the client, which was where cleanup was being done. This patch makes this work by handling the case in onTabDestroyed. BUG=1134085 TEST=covered by tests Change-Id: Ia36f5eeec75192b989114e329156c9cec558670c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2446780Reviewed-by:Bo <boliu@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#813733}
Showing
Please register or sign in to comment