Fix assert in CustomTabActivityTabProvider#swapTab()
This CL moves the assert after the identity check so that calling swapTab(null) after removeTab() does not cause the assert to fail. BUG=1083102 Change-Id: Ib11776451f5b9fef60a9be5e0ee5bd7efc7b790b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2202695Reviewed-by:Peter Conn <peconn@chromium.org> Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Cr-Commit-Position: refs/heads/master@{#770408}
Showing
Please register or sign in to comment