Remove a DCHECK when snapshotting the toolbar for stack view.
The DCHECK was added defensively for the developers to make sure that the animation looks fine if one day it's hit. I've checked that the animation looks fine and nothing jumps around, hence removing it. to the tab switcher and rotating the phone, then choosing one of the tabs. The toolbar should be animated correctly. Specifically test iPhone X. Bug: 788742 Test: Enable Tab switcher presents BVC experimental flag. Try going Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ib906b4aaa1ac2b2e7eefa3f82931fa59a4dd3ac8 Reviewed-on: https://chromium-review.googlesource.com/806335Reviewed-by:Rohit Rao <rohitrao@chromium.org> Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Cr-Commit-Position: refs/heads/master@{#521402}
Showing
Please register or sign in to comment