Fix toolbar drawing problem when clearing the clip rect.
To repro this, it required changing the source code to force
the bad state, but the result is very consistent with bugs
we have received on this.
The changes made were:
1.) Exit the overview mode in Activity#onStart
2.) Change LayoutManagerChrome#hideOverview(false)
At this point, go to the tab switcher and hit the recents
button twice. Chrome should have exited the tab switcher and
every few times the toolbar would either be half clipped or
Added logs and it only would be broken if we ever set a clip
rect (sometimes it was skipped entirely as the animations start
and finish pre-empted it).
Review URL: https://codereview.chromium.org/1408773003
Review URL: https://codereview.chromium.org/1424913002 .
1 file changed