commit | b215a0895e0253ba829eb665459030d8b2f4234b | [log] [tgz] |
---|---|---|
author | Rohit Rao <rohitrao@chromium.org> | Tue Jul 17 16:21:06 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 17 16:21:06 2018 |
tree | 515530bd4136f16c71f77b3ee8c4e126061ab9d8 | |
parent | f0ef986d5fa3a34abaf9731ed933c028bb5bcee2 [diff] |
[ios] Fixes a crash when displaying the downloads UI after a side swipe. During a side swipe to change tabs, we remove the content area from the view hierarchy. This was causing issues with the downloads UI, as we were attempting to set up constraints before the view hierarchy was reassembled. This CL swaps the order of calls to sideSwipeViewDismissAnimationDidEnd and setCurrentTab, to ensure that the view hierarchy is fully reassembled before any of the tab change machinery is invoked. BUG=849827 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: Iba2642f949a10d1a31ed32ae3763fed244022fdf Reviewed-on: https://chromium-review.googlesource.com/1138351 Reviewed-by: Mark Cogan <marq@chromium.org> Reviewed-by: Justin Cohen <justincohen@chromium.org> Commit-Queue: Rohit Rao <rohitrao@chromium.org> Cr-Commit-Position: refs/heads/master@{#575664}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .