[ios] Dismisses InfobarBanner if RepostForm will be presented.
The RepostFormCoordinator checks if baseViewController is already presenting another ViewController. If it is it won't present and retry later on. Because of this, if an InfobarBanner is being presented the RepostForm won't be presented, even if BVC is willing to dismiss the InfobarBanner. Since RepostForm has a retry mechanism we think its not safe to simply remove the presentedViewController check. There might be other reasons why that was added. In order to fix this, this CL dismisses any banner before trying to present the RepostForm. Bug: 911864 Change-Id: Ieaa6c574c619c1d1d3ada7ab49f953ea4656caba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1623453 Commit-Queue: Sergio Collazos <sczs@chromium.org> Reviewed-by:Mark Cogan <marq@chromium.org> Reviewed-by:
Kurt Horimoto <kkhorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#662644}
Showing
Please register or sign in to comment