[ios] Fix the GetActiveViewController() EG util.
When the UIRefresh TabGrid is enabled, then this utility method takes a separate codepath that wasn't accounting for the existence of the BVCContainerViewController. This CL fixes that so that the BVC is properly returned instead of its container. BUG=None TEST=None Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I969ffc62138a189a395d46279dba722670c7ce64 Reviewed-on: https://chromium-review.googlesource.com/1007159Reviewed-by:Justin Cohen <justincohen@chromium.org> Reviewed-by:
Mark Cogan <marq@chromium.org> Commit-Queue: Rohit Rao <rohitrao@chromium.org> Cr-Commit-Position: refs/heads/master@{#549912}
Showing
Please register or sign in to comment