int getCurrentTabId() replaced with @Nullable Tab getCurrentTab()
Related Chromium change:
https://source.chromium.org/chromium/chromium/src/+/052f94ec2a329c0bef43a949cd84fe058a32710f
[Hub] Fix Tab Pane interaction with Bottom Toolbar for non-NTP pages
Improve interaction between the tab switcher and the bottom toolbar by
animating the shrinking/expanding tab to the top of the screen
subtracting the toolbar space if bottom toolbar is in use.
The bottom toolbar area still has a somewhat unpolished transition
because the area where the bottom toolbar is remains blank during the
animation rather than something nicer like a crossfade. For now this is
still significantly better than the previous state. However, there is
probably room to improve this with help from UX. Unfortunately, the fact
Hub is layered over the rest of the UI and we are using LayoutManager to
handle the transition makes this somewhat more difficult than it might
otherwise seem.
See demo on bug.
Fixed: 385704998
Change-Id: Id22ec322a89126e319c9a5f5a5bae575eac206f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6180002